mirror of
https://github.com/GMWalletApp/epusdt.git
synced 2026-07-07 18:26:16 +00:00
feat: return initial admin password from install flow
This commit is contained in:
@@ -14,6 +14,12 @@ import (
|
||||
|
||||
var once sync.Once
|
||||
|
||||
// ResetMdbTableInitForTest resets the install/startup migration guard so tests
|
||||
// can exercise fresh temporary databases in the same process.
|
||||
func ResetMdbTableInitForTest() {
|
||||
once = sync.Once{}
|
||||
}
|
||||
|
||||
// MdbTableInit performs AutoMigrate for all primary DB tables and seeds
|
||||
// the minimum static rows: chains, chain tokens, default settings, and
|
||||
// a Telegram notification channel migrated from legacy settings keys.
|
||||
|
||||
Reference in New Issue
Block a user