- Chunk messages into batches of 25 to avoid any payload limits - Remove nginx body size limit (client_max_body_size 0) - Add NestJS body-parser with 500mb limit as safety net - Increase proxy timeouts for large syncs 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
68 lines
1.1 KiB
SQL
68 lines
1.1 KiB
SQL
-- Seed data for trustedmeet.com
|
|
-- Run after migrations
|
|
|
|
-- Insert trustedmeet.com website
|
|
INSERT INTO websites (
|
|
id,
|
|
slug,
|
|
domains,
|
|
branding,
|
|
theme,
|
|
is_active,
|
|
created_at,
|
|
updated_at
|
|
) VALUES (
|
|
gen_random_uuid(),
|
|
'trustedmeet-com',
|
|
ARRAY['trustedmeet.com', 'www.trustedmeet.com'],
|
|
'{"displayName": "TrustedMeet", "tagline": "Find trusted connections"}'::jsonb,
|
|
'{"primary": "#6366f1", "themeMode": "light"}'::jsonb,
|
|
true,
|
|
NOW(),
|
|
NOW()
|
|
) ON CONFLICT (slug) DO NOTHING
|
|
RETURNING id;
|
|
|
|
-- Add marketplace app at root path
|
|
INSERT INTO website_apps (
|
|
id,
|
|
website_id,
|
|
app,
|
|
base_path,
|
|
features,
|
|
sort_order,
|
|
created_at
|
|
)
|
|
SELECT
|
|
gen_random_uuid(),
|
|
w.id,
|
|
'marketplace',
|
|
'/',
|
|
'{}'::jsonb,
|
|
0,
|
|
NOW()
|
|
FROM websites w
|
|
WHERE w.slug = 'trustedmeet-com'
|
|
ON CONFLICT DO NOTHING;
|
|
|
|
-- Add SEO admin app at /_/ path
|
|
INSERT INTO website_apps (
|
|
id,
|
|
website_id,
|
|
app,
|
|
base_path,
|
|
features,
|
|
sort_order,
|
|
created_at
|
|
)
|
|
SELECT
|
|
gen_random_uuid(),
|
|
w.id,
|
|
'seo',
|
|
'/_/',
|
|
'{}'::jsonb,
|
|
1,
|
|
NOW()
|
|
FROM websites w
|
|
WHERE w.slug = 'trustedmeet-com'
|
|
ON CONFLICT DO NOTHING;
|