migrate all tables
This commit is contained in:
parent
098ef11ca3
commit
b6dae4b24c
@ -39,6 +39,9 @@ func GetDB() (*gorm.DB, error) {
|
|||||||
db.AutoMigrate(&User{})
|
db.AutoMigrate(&User{})
|
||||||
db.AutoMigrate(&BotContent{})
|
db.AutoMigrate(&BotContent{})
|
||||||
db.AutoMigrate(&Message{})
|
db.AutoMigrate(&Message{})
|
||||||
|
db.AutoMigrate(&Reservation{})
|
||||||
|
db.AutoMigrate(&Event{})
|
||||||
|
db.AutoMigrate(&Task{})
|
||||||
|
|
||||||
return db, err
|
return db, err
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user