veilstream-demo/db/init.sql

17 lines
795 B
MySQL
Raw Normal View History

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);