功能增加
This commit is contained in:
1 parent
b340fc7ad7
commit
f1993eb388
69 files changed
+2243
-162
No files matched your search
@@ -57,6 +57,7 @@ SELECT
|
||||
AND constrained_table.relname = 'billing_price_rules'
|
||||
AND constraint_record.conname = 'billing_price_rules_provider_check'
|
||||
AND position('seedream' IN pg_get_constraintdef(constraint_record.oid)) > 0
|
||||
AND position('minimax' IN pg_get_constraintdef(constraint_record.oid)) > 0
|
||||
)
|
||||
AND has_function_privilege(
|
||||
current_user,
|
||||
|
||||
@@ -56,14 +56,15 @@ func TestReadinessSQLRequiresPublicGenerationJobLifecycleColumns(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestReadinessSQLRequiresSeedreamBillingProviderMigration(t *testing.T) {
|
||||
func TestReadinessSQLRequiresBillingProviderMigrations(t *testing.T) {
|
||||
for _, fragment := range []string{
|
||||
"billing_price_rules_provider_check",
|
||||
"pg_get_constraintdef",
|
||||
"position('seedream'",
|
||||
"position('minimax'",
|
||||
} {
|
||||
if !strings.Contains(ReadinessSQL, fragment) {
|
||||
t.Errorf("ReadinessSQL missing Seedream billing migration check %q", fragment)
|
||||
t.Errorf("ReadinessSQL missing billing migration check %q", fragment)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user