Added the capability to upload CSV files
This commit is contained in:
parent
90b02eef79
commit
d1e736d7a7
19 changed files with 678 additions and 99 deletions
|
|
@ -44,8 +44,10 @@ CREATE TABLE IF NOT EXISTS transactions (
|
|||
transaction_timestamp DATETIME,
|
||||
category INTEGER,
|
||||
amount INTEGER,
|
||||
hash TEXT,
|
||||
FOREIGN KEY (account) REFERENCES accounts(account_id),
|
||||
FOREIGN KEY (category) REFERENCES categories(category_id)
|
||||
);
|
||||
|
||||
CREATE INDEX idx_transactions_ts ON transactions(account, transaction_timestamp);
|
||||
CREATE INDEX idx_transactions_hash ON transactions(hash);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue