db(migrations): 🗃️ Add SQL seed file for Maison Cocotte domain infrastructure with hostnames
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
ba19c7fc41
commit
705f7db13e
1 changed files with 5 additions and 2 deletions
|
|
@ -10,7 +10,8 @@ INSERT INTO corps (slug, legal_name) VALUES
|
|||
('lilith-apps-ehf', 'Lilith Apps ehf'),
|
||||
('att', 'Adult Therapy Tour'),
|
||||
('sansonnet', 'Maison Sansonnet'),
|
||||
('transquinnftw', 'transquinnftw')
|
||||
('transquinnftw', 'transquinnftw'),
|
||||
('cocotte', 'Maison Cocotte')
|
||||
ON CONFLICT (slug) DO NOTHING;
|
||||
|
||||
INSERT INTO domains (corp_id, hostname, role) VALUES
|
||||
|
|
@ -24,5 +25,7 @@ INSERT INTO domains (corp_id, hostname, role) VALUES
|
|||
((SELECT id FROM corps WHERE slug='transquinnftw'), 'transquinnftw.com', 'canonical'),
|
||||
((SELECT id FROM corps WHERE slug='transquinnftw'), 'tqftw.com', 'alias'),
|
||||
((SELECT id FROM corps WHERE slug='lilith-apps-ehf'), 'atlilith.com', 'canonical'),
|
||||
((SELECT id FROM corps WHERE slug='lilith-apps-ehf'), 'trustedmeet.com', 'canonical')
|
||||
((SELECT id FROM corps WHERE slug='lilith-apps-ehf'), 'trustedmeet.com', 'canonical'),
|
||||
((SELECT id FROM corps WHERE slug='cocotte'), 'cocotte.maison', 'canonical'),
|
||||
((SELECT id FROM corps WHERE slug='cocotte'), 'data.cocotte.maison', 'canonical')
|
||||
ON CONFLICT (hostname) DO NOTHING;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue