1
This commit is contained in:
Binary file not shown.
@@ -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 '',
|
||||
|
||||
Reference in New Issue
Block a user