Make create script idempotent

main
Jeffrey Elkner 2 years ago
parent efe3323075
commit a633665f32

@ -1,8 +1,8 @@
BEGIN TRANSACTION;
DROP TABLE IF EXISTS "author";
DROP TABLE IF EXISTS "quote";
DROP TABLE IF EXISTS "category";
DROP TABLE IF EXISTS "quotecategory";
DROP TABLE IF EXISTS "quotecategory" CASCADE;
DROP TABLE IF EXISTS "author" CASCADE;
DROP TABLE IF EXISTS "quote" CASCADE;
DROP TABLE IF EXISTS "category" CASCADE;
CREATE TABLE author(
aid SERIAL PRIMARY KEY,
fname TEXT,

Loading…
Cancel
Save