mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
delete user_scenarios table that is auto created for many2many associations between scenarios and users
This commit is contained in:
parent
8dcc1a8ec2
commit
aa749c1c19
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ func DropTables(db *gorm.DB) {
|
||||||
db.DropTableIfExists(&User{})
|
db.DropTableIfExists(&User{})
|
||||||
db.DropTableIfExists(&Dashboard{})
|
db.DropTableIfExists(&Dashboard{})
|
||||||
db.DropTableIfExists(&Widget{})
|
db.DropTableIfExists(&Widget{})
|
||||||
|
db.DropTableIfExists("user_scenarios")
|
||||||
}
|
}
|
||||||
|
|
||||||
// AutoMigrate the models
|
// AutoMigrate the models
|
||||||
|
|
Loading…
Add table
Reference in a new issue