Recount-TUI/SQL/Test Data Poplating.sql

51 lines
1.1 KiB
MySQL
Raw Normal View History

2023-08-07 21:01:13 -07:00
INSERT INTO rcnt.accounts
(display_name, description)
VALUES('BECU Checking', 'BECU Checking Account');
INSERT INTO rcnt.buckets
(display_code, display_name, description)
VALUES('SVNGS', 'Savings', 'Long term savings');
INSERT INTO rcnt.buckets
(display_code, display_name, description)
VALUES('SPEND', 'Spending', 'General Spening Category');
INSERT INTO rcnt.buckets
(display_code, display_name, description)
VALUES('TITHE', 'Tight', '<Random Bible Verse About Tithes>');
INSERT INTO rcnt.transactioncategories
(display_code, display_name, description)
VALUES('GAS', 'Gas', 'Buying gas');
INSERT INTO rcnt.transactioncategories
(display_code, display_name, description)
VALUES('TAX', 'Taxes', 'One of the only constants');
INSERT INTO rcnt.transactions
(amount, description, account, transaction_bucket)
VALUES(10.00, 'Optional Text', 1, 1);
INSERT INTO rcnt.transactionbreakdown
(amount, parent_transaction, catagory, transaction_bucket)
VALUES(8.00, 1, 1, 1);
INSERT INTO rcnt.transactionbreakdown
(amount, parent_transaction, catagory, transaction_bucket)
VALUES(2.00, 1, 1, 2);