Spaces:
Running
Running
File size: 701 Bytes
21bbe59 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
```sql
-- Insert the first organization
INSERT INTO organizations (id, name, slug, is_active, subscription_tier, modules_enabled)
VALUES ('00000000-0000-0000-0000-000000000000', 'VisionQuantech', 'vq', true, 'enterprise', '{
"crm": true,
"hr": true,
"finance": true,
"inventory": true
}');
-- Insert superadmin user (auth.users entry would be created via SignUp flow)
-- This is the profile extension
INSERT INTO user_profiles (id, email, full_name, role, organization_id, is_active)
VALUES (
'11111111-1111-1111-1111-111111111111',
'superadmin@visionquantech.com',
'System Superadmin',
'superadmin',
'00000000-0000-0000-0000-000000000000',
true
);
```
π PART C β AUTH PAGES |