This commit is contained in:
2026-07-13 17:43:18 +08:00
parent 274625f54b
commit 230ece0163
2 changed files with 0 additions and 2 deletions
BIN
View File
Binary file not shown.
-2
View File
@@ -16,8 +16,6 @@ type paymentConfigDao struct{}
func init() {
ctx := context.Background()
// 迁移:删除旧表重建(线上无数据,直接重建)
_, _ = g.DB().Exec(ctx, `DROP TABLE IF EXISTS `+public.TableNamePaymentConfig)
if _, err := g.DB().Exec(ctx, `CREATE TABLE IF NOT EXISTS `+public.TableNamePaymentConfig+` (
id INTEGER PRIMARY KEY AUTOINCREMENT,
channel TEXT NOT NULL DEFAULT '',