Skip to content

Commit

Permalink
maybe fix
Browse files Browse the repository at this point in the history
  • Loading branch information
StealWonders committed Mar 3, 2024
1 parent a22b5e6 commit 764f1c3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions cmd/mensatt/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,11 @@ func main() {
ctx := context.Background()

// todo: run migration tool here in the future
if err := client.Schema.Create(ctx); err != nil {
log.Fatalln("Error creating schema:", err)
}

// todo: this might delete the database, so be careful!!... uncommented for now!!
//if err := client.Schema.Create(ctx); err != nil {
// log.Fatalln("Error creating schema:", err)
//}

if err := seeds.Seed(ctx, client); err != nil {
log.Fatalln("Error seeding database:", err)
Expand Down

0 comments on commit 764f1c3

Please sign in to comment.