From aa749c1c19a8201f97e4d994e753c8410eee4ef4 Mon Sep 17 00:00:00 2001 From: Sonja Happ Date: Tue, 3 Sep 2019 16:36:37 +0200 Subject: [PATCH] delete user_scenarios table that is auto created for many2many associations between scenarios and users --- common/database.go | 1 + 1 file changed, 1 insertion(+) diff --git a/common/database.go b/common/database.go index 25ea578..3dba07d 100644 --- a/common/database.go +++ b/common/database.go @@ -63,6 +63,7 @@ func DropTables(db *gorm.DB) { db.DropTableIfExists(&User{}) db.DropTableIfExists(&Dashboard{}) db.DropTableIfExists(&Widget{}) + db.DropTableIfExists("user_scenarios") } // AutoMigrate the models