18 lines
742 B
MySQL
18 lines
742 B
MySQL
|
|
-- Current sql file was generated after introspecting the database
|
||
|
|
-- If you want to run this migration please uncomment this code before executing migrations
|
||
|
|
/*
|
||
|
|
CREATE TABLE "sign_in_records" (
|
||
|
|
"id" serial PRIMARY KEY NOT NULL,
|
||
|
|
"user_id" varchar(128) NOT NULL,
|
||
|
|
"sign_date" date NOT NULL,
|
||
|
|
"created_at" timestamp with time zone DEFAULT now() NOT NULL
|
||
|
|
);
|
||
|
|
--> statement-breakpoint
|
||
|
|
CREATE TABLE "health_check" (
|
||
|
|
"id" serial NOT NULL,
|
||
|
|
"updated_at" timestamp with time zone DEFAULT now()
|
||
|
|
);
|
||
|
|
--> statement-breakpoint
|
||
|
|
CREATE INDEX "sign_in_records_sign_date_idx" ON "sign_in_records" USING btree ("sign_date" date_ops);--> statement-breakpoint
|
||
|
|
CREATE INDEX "sign_in_records_user_id_idx" ON "sign_in_records" USING btree ("user_id" text_ops);
|
||
|
|
*/
|