perf👌: Remove caspin table from data migration
This commit is contained in:
1 parent
b97bde11b2
commit
869394c898
1 file changed
-1
@@ -22,7 +22,6 @@ func _1599190683659Tables(db *gorm.DB, version string) error {
|
|||||||
tx = tx.Set("gorm:table_options", "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4")
|
tx = tx.Set("gorm:table_options", "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4")
|
||||||
}
|
}
|
||||||
err := tx.Migrator().AutoMigrate(
|
err := tx.Migrator().AutoMigrate(
|
||||||
new(models.CasbinRule),
|
|
||||||
new(models.SysDept),
|
new(models.SysDept),
|
||||||
new(models.SysConfig),
|
new(models.SysConfig),
|
||||||
new(models.SysTables),
|
new(models.SysTables),
|
||||||
|
|||||||
Reference in new issue
Block a user