chore(db): 提交初始数据库迁移文件
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
CREATE TABLE "todo" (
|
||||
"id" uuid PRIMARY KEY,
|
||||
"created_at" timestamp with time zone DEFAULT now() NOT NULL,
|
||||
"updated_at" timestamp with time zone DEFAULT now() NOT NULL,
|
||||
"title" text NOT NULL,
|
||||
"completed" boolean DEFAULT false NOT NULL
|
||||
);
|
||||
Reference in New Issue
Block a user