veilstream-demo/db/init.sql
Mathew Lewis 47fe3c33e6 Add compose demo app for VeilStream preview testing
web (node) renders the seeded customers table plus container hostname.
db (postgres:16-alpine) seeds five PII-shaped rows from db/init.sql.
2026-08-26 22:08:17 -07:00

17 lines
795 B
SQL

CREATE TABLE customers (
id serial PRIMARY KEY,
full_name text NOT NULL,
email text NOT NULL,
phone text NOT NULL,
city text NOT NULL,
plan text NOT NULL,
mrr_cents integer NOT NULL
);
INSERT INTO customers (full_name, email, phone, city, plan, mrr_cents) VALUES
('Ada Lovelace', 'ada@example.com', '+1 250 555 0101', 'Victoria', 'pro', 9900),
('Grace Hopper', 'grace@example.com', '+1 250 555 0102', 'Nanaimo', 'team', 29900),
('Alan Turing', 'alan@example.com', '+1 604 555 0103', 'Vancouver', 'free', 0),
('Katherine Johnson','kj@example.com', '+1 250 555 0104', 'Sidney', 'pro', 9900),
('Edsger Dijkstra', 'edsger@example.com', '+1 778 555 0105', 'Victoria', 'enterprise',99900);