Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHo3ein <ho3ein.sanaei@gmail.com>2023-05-06 12:23:41 +0300
committerGitHub <noreply@github.com>2023-05-06 12:23:41 +0300
commitac31d6d9fb666ba8deec353d0ba783eb6a8b231f (patch)
treeea1e1764da0208035a7000f7d884a6c36b55d830 /main.go
parent78638a97373bccc761f46cbbef0fda34a8dedd6c (diff)
parent83c853ffb6b896c8a6d1eef4e0354ba1201ebf13 (diff)
Merge pull request #347 from hamid-gh98/main
[Feature] import/export database in the panel
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.go b/main.go
index 54ff6bf3..3281048d 100644
--- a/main.go
+++ b/main.go
@@ -212,8 +212,7 @@ func migrateDb() {
log.Fatal(err)
}
fmt.Println("Start migrating database...")
- inboundService.MigrationRequirements()
- inboundService.RemoveOrphanedTraffics()
+ inboundService.MigrateDB()
fmt.Println("Migration done!")
}