From c4afb3439848aef0a6b571cabd41ba2c1d20d844 Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Thu, 19 Jan 2023 09:08:17 +0200 Subject: [PATCH] WIP(sdbapi): migrate game table --- sdbapi/db/db.go | 1 + 1 file changed, 1 insertion(+) diff --git a/sdbapi/db/db.go b/sdbapi/db/db.go index a1b5b27..d4e1658 100644 --- a/sdbapi/db/db.go +++ b/sdbapi/db/db.go @@ -31,4 +31,5 @@ func Connect(connString string) error { func Migrate() { log.Println("running migrations") DbConn.AutoMigrate(&models.User{}) + DbConn.AutoMigrate(&models.Game{}) } -- 2.44.1