final check 04-16-3

This commit is contained in:
Hamza-Ayed
2026-04-16 19:37:25 +03:00
parent 34dd9ee35a
commit 3fba3a40f7
5 changed files with 157 additions and 172 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ import { UsageInterceptor } from './usage/usage.interceptor';
type: 'postgres',
url: config.get('DATABASE_URL'),
autoLoadEntities: true,
synchronize: true, // Only for prototype! Use migrations for production.
synchronize: false, // Production-ready: disabled to prevent data loss. Use migrations for schema changes.
}),
}),
ThrottlerModule.forRoot([{
+1 -1
View File
@@ -13,7 +13,7 @@ import { TenantPlan } from '../auth/entities/tenant.entity';
// Quota Limits per Plan
const QUOTA_LIMITS: Record<TenantPlan, number> = {
[TenantPlan.FREE]: 5000,
[TenantPlan.FREE]: 8000,
[TenantPlan.STARTER]: 25000,
[TenantPlan.PRO]: 100000,
[TenantPlan.ENTERPRISE]: 500000,