From 869394c898cf381a4a0e452a4aae91efaba75e2b Mon Sep 17 00:00:00 2001 From: zhangwenjian Date: Tue, 9 Aug 2022 18:21:00 +0800 Subject: [PATCH] =?UTF-8?q?perf=F0=9F=91=8C:=20=20=20=20Remove=20caspin=20?= =?UTF-8?q?table=20from=20data=20migration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/migrate/migration/version/1599190683659_tables.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/migrate/migration/version/1599190683659_tables.go b/cmd/migrate/migration/version/1599190683659_tables.go index bc4bda7..df2dafa 100644 --- a/cmd/migrate/migration/version/1599190683659_tables.go +++ b/cmd/migrate/migration/version/1599190683659_tables.go @@ -22,7 +22,6 @@ func _1599190683659Tables(db *gorm.DB, version string) error { tx = tx.Set("gorm:table_options", "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4") } err := tx.Migrator().AutoMigrate( - new(models.CasbinRule), new(models.SysDept), new(models.SysConfig), new(models.SysTables),