summaryrefslogtreecommitdiff
path: root/cmd/start.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/start.go')
-rw-r--r--cmd/start.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/start.go b/cmd/start.go
index c75f0f8..6bb16a3 100644
--- a/cmd/start.go
+++ b/cmd/start.go
@@ -30,7 +30,7 @@ var startCmd = &cobra.Command{
"path", viper.ConfigFileUsed())
}
cfg := config.LoadConfig(viper.GetViper())
- db, err := database.InitWithMigrate(cfg.DBURI, true)
+ db, err := database.Init(cfg.DBURI)
if err != nil {
log.Error("failed to connect to db", "error", err)
return