🗃️ Remove foreign key constraint to improve dx
This commit is contained in:
parent
95d1284e68
commit
ae48597f96
@ -24,7 +24,7 @@ func NewGorm() error {
|
||||
Colorful: true,
|
||||
IgnoreRecordNotFoundError: true,
|
||||
LogLevel: lo.Ternary(viper.GetBool("debug.database"), logger.Info, logger.Silent),
|
||||
})})
|
||||
}), DisableForeignKeyConstraintWhenMigrating: true})
|
||||
|
||||
return err
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user