diff options
author | GrailFinder <wohilas@gmail.com> | 2024-05-18 13:27:28 +0300 |
---|---|---|
committer | GrailFinder <wohilas@gmail.com> | 2024-05-18 13:27:28 +0300 |
commit | 2e9b18944eac3dcaf8a006594cb338d94c07a447 (patch) | |
tree | 7715140a6951407d13781e0a5bbf83a6e8f9dbe9 /cmd/start.go | |
parent | ff86222fc9ab85fb4c5c5e8a063083595b323761 (diff) |
Feat: auth; login; signup; migrate to sqlite
Diffstat (limited to 'cmd/start.go')
-rw-r--r-- | cmd/start.go | 2 |
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 |