invest
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
JMARyA 2025-02-23 04:37:13 +01:00
parent d44246a483
commit 197e4cfde9
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
8 changed files with 302 additions and 50 deletions

9
migrations/0001_init.sql Normal file
View file

@ -0,0 +1,9 @@
CREATE TABLE investment (
id BIGSERIAL PRIMARY KEY,
project TEXT NOT NULL,
title TEXT NOT NULL,
"description" TEXT NOT NULL,
amount DOUBLE PRECISION NOT NULL,
"when" TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP,
payed BOOLEAN NOT NULL DEFAULT false
);