Initial commit with basic axum and sqlx API

This commit is contained in:
2023-05-07 17:41:45 -04:00
commit c2c0f7a28d
13 changed files with 2355 additions and 0 deletions

View 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)
);