This commit is contained in:
Chen Junda
2024-01-10 21:17:48 +08:00
parent a7d523b5ce
commit a467a0a9fd
4 changed files with 28 additions and 11 deletions

View File

@@ -24,6 +24,11 @@ func init() {
}
var drop bool
if cfg.Db.IsMssql() {
//mssql migrator doesn't support GetIndexes() currently
// mssql is implemented after this migration, so ignore it.
return nil
}
if cfg.Db.IsSQLite() {
// sqlite migrator doesn't support GetIndexes() currently
var ddl string