added desc table
This commit is contained in:
parent
431b557962
commit
dbcc95f2de
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue