DEVELOPMENT ENVIRONMENT

~liljamo/deck-builder

c4afb3439848aef0a6b571cabd41ba2c1d20d844 — Jonni Liljamo 1 year, 11 months ago b53967e
WIP(sdbapi): migrate game table
1 files changed, 1 insertions(+), 0 deletions(-)

M sdbapi/db/db.go
M sdbapi/db/db.go => sdbapi/db/db.go +1 -0
@@ 31,4 31,5 @@ func Connect(connString string) error {
func Migrate() {
	log.Println("running migrations")
	DbConn.AutoMigrate(&models.User{})
	DbConn.AutoMigrate(&models.Game{})
}