test/example-3/0002-add-todos.sql @ 6b27e5b734d8

Get Postgres working, add CLI
author Steve Losh <steve@stevelosh.com>
date Fri, 05 Apr 2024 10:02:45 -0400
parents (none)
children (none)
CREATE TABLE todos (
  id INTEGER PRIMARY KEY,
  user_id INTEGER NOT NULL,
  done BOOLEAN NOT NULL,
  content TEXT,

  FOREIGN KEY (user_id) REFERENCES users(id)
);

INSERT INTO todos (id, user_id, content, done) VALUES (0, 0, 'Write DBvolve skeleton.', TRUE);
INSERT INTO todos (id, user_id, content, done) VALUES (1, 0, 'Write DBvolve test suite.', FALSE);