2017-07-09 16:53:35 +00:00
|
|
|
CREATE TEMPORARY TABLE "books" (
|
2017-11-20 18:09:23 +00:00
|
|
|
"id" serial,
|
2017-07-06 20:14:26 +00:00
|
|
|
"name" varchar,
|
|
|
|
"created_at" timestamp,
|
2017-07-15 15:11:57 +00:00
|
|
|
"updated_at" timestamp,
|
|
|
|
"author_id" int REFERENCES authors(id) ON DELETE CASCADE,
|
|
|
|
PRIMARY KEY(id)
|
2017-07-06 20:14:26 +00:00
|
|
|
);
|