feat(server/migrate): 000024 邀请奖励表 + subscriptions.source 扩 invite/task
This commit is contained in:
@@ -29,8 +29,8 @@ func TestSQLiteMigrateUpDown(t *testing.T) {
|
||||
if dirty {
|
||||
t.Fatalf("schema dirty after MigrateUp")
|
||||
}
|
||||
if v != 23 {
|
||||
t.Errorf("version = %d, want 23", v)
|
||||
if v != 24 {
|
||||
t.Errorf("version = %d, want 24", v)
|
||||
}
|
||||
|
||||
// 2. Core tables exist.
|
||||
@@ -39,7 +39,7 @@ func TestSQLiteMigrateUpDown(t *testing.T) {
|
||||
"usage_daily", "audit_log", "providers", "nodes", "node_events",
|
||||
"directory_version", "provision_idempotency", "replacements", "admins",
|
||||
"connect_credentials", "usage_device_daily", "sessions", "usage_hourly", "usage_device_hourly",
|
||||
"pay_purchases",
|
||||
"pay_purchases", "referrals", "reward_claims",
|
||||
} {
|
||||
var name string
|
||||
err := db.QueryRow(
|
||||
|
||||
Reference in New Issue
Block a user