🔥 Remove obsolete webmap seed files
- atlilith.seed.sql - next.www.atlilith.seed.sql - trustedmeet.seed.sql Webmap now uses dynamic configuration, seeds no longer needed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
23d4877e1a
commit
bd372118af
3 changed files with 0 additions and 132 deletions
|
|
@ -1,32 +0,0 @@
|
|||
-- Seed data for atlilith.com
|
||||
-- Landing at / and SEO admin at /_/
|
||||
|
||||
-- Insert atlilith.com website
|
||||
INSERT INTO websites (slug, domains, branding, theme, is_active)
|
||||
VALUES (
|
||||
'atlilith-com',
|
||||
ARRAY['atlilith.com', 'www.atlilith.com', 'localhost'],
|
||||
'{"displayName": "Lilith", "tagline": "Liberation Through Technology"}'::jsonb,
|
||||
'{"primary": "#8b5cf6", "themeMode": "dark"}'::jsonb,
|
||||
true
|
||||
) ON CONFLICT (slug) DO UPDATE SET
|
||||
domains = EXCLUDED.domains,
|
||||
branding = EXCLUDED.branding,
|
||||
theme = EXCLUDED.theme,
|
||||
updated_at = NOW();
|
||||
|
||||
-- Landing at root path
|
||||
INSERT INTO website_apps (website_id, app, base_path, features, sort_order)
|
||||
SELECT id, 'landing', '/', '{}'::jsonb, 0
|
||||
FROM websites WHERE slug = 'atlilith-com'
|
||||
ON CONFLICT (website_id, base_path) DO UPDATE SET
|
||||
app = EXCLUDED.app,
|
||||
features = EXCLUDED.features;
|
||||
|
||||
-- SEO admin at /_/ path
|
||||
INSERT INTO website_apps (website_id, app, base_path, features, sort_order)
|
||||
SELECT id, 'seo', '/_/', '{}'::jsonb, 1
|
||||
FROM websites WHERE slug = 'atlilith-com'
|
||||
ON CONFLICT (website_id, base_path) DO UPDATE SET
|
||||
app = EXCLUDED.app,
|
||||
features = EXCLUDED.features;
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
-- Seed data for next.www.atlilith.com (staging)
|
||||
-- Mirrors atlilith.com config for staging on black
|
||||
|
||||
-- Insert staging website
|
||||
INSERT INTO websites (slug, domains, branding, theme, is_active)
|
||||
VALUES (
|
||||
'atlilith-staging',
|
||||
ARRAY['next.www.atlilith.com'],
|
||||
'{"displayName": "Lilith (Staging)", "tagline": "Liberation Through Technology"}'::jsonb,
|
||||
'{"primary": "#8b5cf6", "themeMode": "dark"}'::jsonb,
|
||||
true
|
||||
) ON CONFLICT (slug) DO UPDATE SET
|
||||
domains = EXCLUDED.domains,
|
||||
branding = EXCLUDED.branding,
|
||||
theme = EXCLUDED.theme,
|
||||
updated_at = NOW();
|
||||
|
||||
-- Landing at root path
|
||||
INSERT INTO website_apps (website_id, app, base_path, features, sort_order)
|
||||
SELECT id, 'landing', '/', '{}'::jsonb, 0
|
||||
FROM websites WHERE slug = 'atlilith-staging'
|
||||
ON CONFLICT (website_id, base_path) DO UPDATE SET
|
||||
app = EXCLUDED.app,
|
||||
features = EXCLUDED.features;
|
||||
|
||||
-- SEO admin at /_/ path (underscore escaped for LIKE matching)
|
||||
INSERT INTO website_apps (website_id, app, base_path, features, sort_order)
|
||||
SELECT id, 'seo', '/\_', '{}'::jsonb, 1
|
||||
FROM websites WHERE slug = 'atlilith-staging'
|
||||
ON CONFLICT (website_id, base_path) DO UPDATE SET
|
||||
app = EXCLUDED.app,
|
||||
features = EXCLUDED.features;
|
||||
|
|
@ -1,68 +0,0 @@
|
|||
-- 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;
|
||||
Loading…
Add table
Reference in a new issue