platform/angel_orm_generator/test/models/book.up.g.sql

9 lines
199 B
MySQL
Raw Normal View History

2017-07-09 16:53:35 +00:00
CREATE TEMPORARY TABLE "books" (
2017-11-20 18:09:23 +00:00
"id" serial,
"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)
);