Locations added
This commit is contained in:
@@ -72,6 +72,9 @@ func InitDatabase(dsn DSN) (*bun.DB, error) {
|
||||
_, err = db.NewCreateTable().
|
||||
Model((*m.UserToRole)(nil)).IfNotExists().Exec(ctx)
|
||||
|
||||
_, err = db.NewCreateTable().
|
||||
Model((*m.Location)(nil)).IfNotExists().Exec(ctx)
|
||||
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user