8 lines
200 B
SQL
8 lines
200 B
SQL
CREATE TEMPORARY TABLE "books" (
|
|
"id" varchar,
|
|
"name" varchar,
|
|
"created_at" timestamp,
|
|
"updated_at" timestamp,
|
|
"author_id" int REFERENCES authors(id) ON DELETE CASCADE,
|
|
PRIMARY KEY(id)
|
|
);
|