Added default transaction categories.

This commit is contained in:
Andrew Lalis 2024-01-29 14:08:42 -05:00
parent b9678313bf
commit 1cdadc9fc4
1 changed files with 8 additions and 0 deletions

View File

@ -173,3 +173,11 @@ CREATE TABLE account_history_item_balance_record (
FOREIGN KEY (record_id) REFERENCES balance_record(id) FOREIGN KEY (record_id) REFERENCES balance_record(id)
ON UPDATE CASCADE ON DELETE CASCADE ON UPDATE CASCADE ON DELETE CASCADE
); );
/* DEFAULT ENTITIES */
INSERT INTO transaction_category (name, color) VALUES
('Food', '0dba0d'),
('Travel', '3ec0f0'),
('Utilities', '4137bf'),
('Housing', 'e6cf3c'),
('Entertainment', 'e01e1b');