Fix boolean column migration example

This commit is contained in:
max 2024-02-14 13:16:15 -06:00
parent dc450e26dd
commit ddc9e51831

View File

@ -25,7 +25,7 @@ func RunAllMigrations(app *app.App) error {
Id: 1,
UserId: 1,
AuthToken: "migrate",
RememberMe: false,
RememberMe: true, // Booleans must be true to migrate properly
CreatedAt: time.Now(),
}
err = database.Migrate(app, session)