aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/db.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/db.go b/db/db.go
index 5c904fd..948f154 100644
--- a/db/db.go
+++ b/db/db.go
@@ -11,7 +11,7 @@ var (
)
func ConnectDb() {
- DB, err = gorm.Open(sqlite.Open("test.db"), &gorm.Config{})
+ DB, err = gorm.Open(sqlite.Open("main.db"), &gorm.Config{})
if err != nil {
panic("failed to connect to the database.")