From 1cdadc9fc49920ed2ac5be1d9bd9e3a400cc9100 Mon Sep 17 00:00:00 2001 From: andrewlalis Date: Mon, 29 Jan 2024 14:08:42 -0500 Subject: [PATCH] Added default transaction categories. --- src/main/resources/sql/schema.sql | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/resources/sql/schema.sql b/src/main/resources/sql/schema.sql index 17ff5f9..3b698b9 100644 --- a/src/main/resources/sql/schema.sql +++ b/src/main/resources/sql/schema.sql @@ -173,3 +173,11 @@ CREATE TABLE account_history_item_balance_record ( FOREIGN KEY (record_id) REFERENCES balance_record(id) 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');