diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -36,7 +36,10 @@ func main() { db := model.OpenDB(filepath.Join(storage.Path, "ceres.sqlite3")) defer db.Close() - db.Migrate(version) + err := db.Migrate() + if err != nil { + log.Fatal(err) + } if flags.examples { db.CreateExamples() |