Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: make all rules available in the free plan (#5577)

Danny Xu80329db4ec3e
diff --git a/frontend/src/types/sqlReview.ts b/frontend/src/types/sqlReview.ts
index 7757563770..c115d147ec 100644
--- a/frontend/src/types/sqlReview.ts
+++ b/frontend/src/types/sqlReview.ts
@@ -681,17 +681,9 @@ export const getRuleLocalization = (
};
};
-const availableRulesForFreePlan: RuleType[] = [
- "statement.where.require",
- "column.no-null",
-];
-
export const ruleIsAvailableInSubscription = (
ruleType: RuleType,
subscriptionPlan: PlanType
): boolean => {
- if (subscriptionPlan === PlanType.FREE) {
- return availableRulesForFreePlan.indexOf(ruleType) >= 0;
- }
return true;
};