platform/angel_orm_generator/test/models/user.up.g.sql
2017-11-20 13:09:23 -05:00

10 lines
222 B
SQL

CREATE TEMPORARY TABLE "users" (
"id" serial,
"username" varchar,
"password" varchar,
"email" varchar,
"created_at" timestamp,
"updated_at" timestamp,
"role_id" int REFERENCES roles(id),
PRIMARY KEY(id)
);