migrate database

This commit is contained in:
Alireza Ahmadi
2024-12-22 11:53:44 +01:00
parent ecd9348a0f
commit 7a047daf6f
14 changed files with 567 additions and 113 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ import (
"flag"
"fmt"
"os"
"s-ui/cmd/migration"
"s-ui/config"
)
@@ -72,7 +73,7 @@ func ParseCmd() {
}
case "migrate":
migrateDb()
migration.MigrateDb()
case "setting":
err := settingCmd.Parse(os.Args[2:])