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