db: finish sql commands
All checks were successful
Build and test / Build (push) Successful in 2m23s

This commit is contained in:
Muyao CHEN
2024-10-19 17:08:05 +02:00
parent dac36db284
commit 3d616bff50
10 changed files with 493 additions and 44 deletions

View File

@ -1,2 +1 @@
CREATE TABLE "transaction";

View File

@ -6,8 +6,8 @@ CREATE TABLE "expense" (
"amount" integer NOT NULL,
"currency" character varying NOT NULL,
"event_id" integer NOT NULL,
"name" integer NULL,
"place" integer NULL
"name" character varying(255) NULL,
"place" character varying(1000) NULL
);
ALTER TABLE "expense"

View File

@ -0,0 +1 @@
DROP TABLE transaction;