fix app load
This commit is contained in:
parent
5acfeeba86
commit
5854799483
@ -120,9 +120,9 @@ func generateMigration() {
|
|||||||
log.Fatalln("migration name is required. Use: 'go run -mod=mod internal/ent/migrate/main.go <name>'")
|
log.Fatalln("migration name is required. Use: 'go run -mod=mod internal/ent/migrate/main.go <name>'")
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Println(ctx, opts)
|
|
||||||
panic("ent not implemented, if implemented, uncommit this line.")
|
panic("ent not implemented, if implemented, uncommit this line.")
|
||||||
//err = entmigrate.NamedDiff(ctx, providers.Config.DB.Driver+"://"+providers.Config.DB.DSN, os.Args[2], opts...)
|
fmt.Println(ctx, opts) // uncommit after implementing ent
|
||||||
|
//err = entmigrate.NamedDiff(ctx, config.Config.DB.Driver+"://"+config.Config.DB.DSN, os.Args[2], opts...)
|
||||||
//if err != nil {
|
//if err != nil {
|
||||||
// log.Fatalf("failed generating migration file: %v", err)
|
// log.Fatalf("failed generating migration file: %v", err)
|
||||||
//}
|
//}
|
||||||
|
Loading…
Reference in New Issue
Block a user