Remove prints from server startup

This commit is contained in:
David Dworken 2023-09-24 15:59:39 -07:00
parent 0f375aacfc
commit 6c6245d962
No known key found for this signature in database

View File

@ -53,11 +53,9 @@ func (db *DB) AddDatabaseTables() error {
}
for _, model := range models {
fmt.Printf("Beginning migration of %#v\n", model)
if err := db.AutoMigrate(model); err != nil {
return fmt.Errorf("db.AutoMigrate: %w", err)
}
fmt.Printf("Done migrating %#v\n", model)
}
return nil