added desc table

This commit is contained in:
jethro 2026-05-13 16:44:33 +12:00
parent 431b557962
commit dbcc95f2de

View file

@ -13,6 +13,7 @@ orgname VARCHAR(50) UNIQUE NOT NULL
CREATE TABLE IF NOT EXISTS transactions( CREATE TABLE IF NOT EXISTS transactions(
id SERIAL PRIMARY KEY, id SERIAL PRIMARY KEY,
datetime DATE NOT NULL, datetime DATE NOT NULL,
description VARCHAR NOT NULL,
amount REAL NOT NULL, amount REAL NOT NULL,
accountid INT NOT NULL --foreign key from accounts accountid INT NOT NULL --foreign key from accounts
orgid INT NOT NULL --foreign key from organizations orgid INT NOT NULL --foreign key from organizations