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
Since PR #285, the migration generation for Atlas fails. This is likely due to the generation using a mock database that doesn't really have the index.
Since that change, I get some failed to create index ... errors
Expected behavior: It should output a SQL script to create the Products table
Actual behavior: It fails with error loading gorm schema: failed to create index with name idx_products_deleted_at
The text was updated successfully, but these errors were encountered:
GORM Playground Link
go-gorm/playground#774
Description
Since PR #285, the migration generation for Atlas fails. This is likely due to the generation using a mock database that doesn't really have the index.
Since that change, I get some
failed to create index ...
errorsHow to reproduce
This sample program shows the issue. With
go-gorm/[email protected]
, it works fine, but it fails withgo-gorm/[email protected]
.Expected behavior: It should output a SQL script to create the Products table
Actual behavior: It fails with
error loading gorm schema: failed to create index with name idx_products_deleted_at
The text was updated successfully, but these errors were encountered: