Tweak when no schema
This commit is contained in:
parent
efb0cc13fa
commit
845d08e2bc
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -128,7 +128,7 @@ func cmdMigrateDb(c *cli.Context) {
|
|||
// Back up users table
|
||||
// TODO: look into this
|
||||
if err := models.DBH.Select(&users, `SELECT * FROM users;`); err != nil {
|
||||
log.Fatal("Couldn't back up identity tables: ", err)
|
||||
log.Printf("Couldn't back up identity tables: %+v", err)
|
||||
}
|
||||
log.Printf("%+v Users", len(users))
|
||||
|
||||
|
|
Reference in a new issue