You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It work in latest version and playground table name is wrong.
-if!DB.Table("auto_migrate_in_tx").Migrator().HasColumn(&AutoMigrateInTx{}, "third") {
+if!DB.Table("auto_migrate_in_txes").Migrator().HasColumn(&AutoMigrateInTx{}, "third") {
t.Fatalf("expecting the third column to be present")
}
With the latest gorm and postgres the third automigration is causing an error in Postgres.
I've found this issue fixed:
#5175
I think this is still a case in the latest version for Postgres and third auto migration (the second works fine):
go-gorm/playground#462
Originally posted by @CezaryTarnowski-TomTom in #5175 (comment)
The text was updated successfully, but these errors were encountered: