fix: migration 0058 checkconstraint + all sprint 20-23 deployed

This commit is contained in:
Agent Zero
2026-07-29 03:10:26 +02:00
parent 24690fb674
commit 680d5ab6f1
2 changed files with 4 additions and 7 deletions
+1 -4
View File
@@ -27,10 +27,7 @@ def upgrade() -> None:
op.create_check_constraint(
"ck_tenant_resolution_strategy",
"tenants",
sa.schema.CheckConstraint(
"resolution_strategy IN ('highest_wins', 'deny_overrides_allow', 'direct_overrides_group', 'most_restrictive_wins')",
name="ck_tenant_resolution_strategy",
),
"resolution_strategy IN ('highest_wins', 'deny_overrides_allow', 'direct_overrides_group', 'most_restrictive_wins')",
)