Initial commit with basic axum and sqlx API
This commit is contained in:
9
migrations/20230507201612_initial.sql
Normal file
9
migrations/20230507201612_initial.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE IF NOT EXISTS "items" (
|
||||
"id" SERIAL PRIMARY KEY NOT NULL,
|
||||
"title" VARCHAR(255) NOT NULL,
|
||||
"url" VARCHAR(255) NOT NULL,
|
||||
"description" VARCHAR(255),
|
||||
"created_at" timestamp(3) NOT NULL,
|
||||
"updated_at" timestamp(3) NOT NULL,
|
||||
"deleted_at" timestamp(3)
|
||||
);
|
||||
Reference in New Issue
Block a user