f271d7fe7fda3588193ffe997ed2d022849cff05
- Create plans table with Free, Creator, Pro tiers - Create profiles table with tenant_id for multi-tenant isolation - Enable RLS on both tables (security critical) - Add auto-profile trigger on auth.users insert - Add helper functions: get_user_plan_features, get_user_plan_name - Add performance indexes on tenant_id, plan_id, email Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Description
Leopost - Lab project
Languages
TypeScript
84.9%
CSS
7.3%
PLpgSQL
6.8%
JavaScript
0.7%
Shell
0.3%