Tweak when no schema

This commit is contained in:
Matthew Dillon 2015-10-05 10:26:23 -07:00
parent efb0cc13fa
commit 845d08e2bc

View file

@ -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))