12 lines
519 B
SQL
12 lines
519 B
SQL
INSERT INTO tenants (id, name)
|
|
VALUES ('fieldlens-production', 'FieldLens Production')
|
|
ON CONFLICT (id) DO NOTHING;
|
|
|
|
INSERT INTO sites (id, tenant_id, name, timezone)
|
|
VALUES ('00000000-0000-4000-8000-000000000001', 'fieldlens-production', 'Production Site', 'Pacific/Auckland')
|
|
ON CONFLICT (id) DO NOTHING;
|
|
|
|
INSERT INTO stations (id, site_id, name, station_type, active)
|
|
VALUES ('00000000-0000-4000-8000-000000000101', '00000000-0000-4000-8000-000000000001', 'Unassigned', 'capture', true)
|
|
ON CONFLICT (id) DO NOTHING;
|