feat: add a project model

This commit is contained in:
2024-08-17 00:23:05 +02:00
parent 2262111f97
commit 283b3965db
5 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,2 @@
-- This file should undo anything in `up.sql`
DROP TABLE IF EXISTS "projects";

View File

@ -0,0 +1,6 @@
-- Your SQL goes here
CREATE TABLE "projects"(
"id" SERIAL NOT NULL PRIMARY KEY,
"title" TEXT NOT NULL
);