From 2e9b18944eac3dcaf8a006594cb338d94c07a447 Mon Sep 17 00:00:00 2001 From: GrailFinder Date: Sat, 18 May 2024 13:27:28 +0300 Subject: Feat: auth; login; signup; migrate to sqlite --- cmd/start.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/start.go') 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 -- cgit v1.2.3