refactor: add database initialization entrypoint
This commit is contained in:
@@ -23,7 +23,7 @@ func main() {
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
if err := initdb.InitUser(models.DBService); err != nil {
|
||||
if err := initdb.New(models.DBService); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user