Recount-TUI/SQL/Test Data Poplating.sql

36 lines
878 B
MySQL
Raw Permalink Normal View History

2023-08-07 21:01:13 -07:00
INSERT INTO rcnt.accounts
2023-08-09 22:39:00 -07:00
(acnt_dsply_name, acnt_description)
2023-08-07 21:01:13 -07:00
VALUES('BECU Checking', 'BECU Checking Account');
INSERT INTO rcnt.buckets
2023-08-09 22:39:00 -07:00
(bkt_dsply_code, bkt_dsply_name, bkt_description)
values
('SVNGS', 'Savings', 'Long term savings'),
('SPEND', 'Spending', 'General Spening Category'),
('TITHE', 'Tight', '<Random Bible Verse About Tithes>');
2023-08-07 21:01:13 -07:00
2023-08-09 22:39:00 -07:00
INSERT INTO rcnt.transaction_categories
(trns_ctgry_dsply_code, trns_ctgry_dsply_name, trns_ctgry_description)
values
('TAX', 'Taxes', 'One of the only constants'),
('GAS', 'Gas', 'Buying gas');
2023-08-07 21:01:13 -07:00
INSERT INTO rcnt.transactions
2023-08-09 22:39:00 -07:00
(trns_amount, trns_description, trns_account, trns_bucket, trns_date)
VALUES(10.00, 'Optional Text', 1, 1, '8-7-2023');
2023-08-07 21:01:13 -07:00
2023-08-09 22:39:00 -07:00
INSERT INTO rcnt.transaction_breakdown
(trns_brkdwn_amount, trns_brkdwn_parent_transaction, trns_brkdwn_catagory, trns_brkdwn_bucket)
values
(8.00, 1, 1, 1),
(2.00, 1, 1, 2);
2023-08-07 21:01:13 -07:00