checks are actually matched
This commit is contained in:
@@ -10,10 +10,10 @@ delete from companies;
|
||||
|
||||
INSERT INTO companies (code, name, data)
|
||||
VALUES
|
||||
('BCBC', 'Brown Chicken Brown Cow', '{:locations ["CB"]}'),
|
||||
('BSG', 'Bella Saratoga', '{:locations ["SG"]}'),
|
||||
('BCBC', 'Brown Chicken Brown Cow', '{:locations ["CB"] }'),
|
||||
('BSG', 'Bella Saratoga', '{:locations ["SG"] }'),
|
||||
('CBC', 'Campbell Brewing Co', '{:locations ["CB"]}'),
|
||||
('IBC', 'Iguanas Burritozilla', '{:locations ["DT" "EG" "SC" "EG" "SG" "CB" "BH"]}'),
|
||||
('IBC', 'Iguanas Burritozilla', '{:locations ["DT" "EG" "SC" "EG" "SG" "CB" "BH"] :bank-accounts [{:number "123456789" :id 1 :check-number 6789 :bank-name "Bank of America" :bank-code "90-4149/1211" :routing "12345678" :name "BOA-6789" :yodlee-account-id 11703936} {:number "987654321" :id 2 :check-number 1234 :bank-name "Bank of America" :bank-code "90-4149/1211" :routing "123456" :name "BOA-4321"}]}'),
|
||||
('IBCBC', 'Shared CBC-IBC Expenses', '{:locations ["CB"]}'),
|
||||
('KOG', 'Knock Out Grill & Bar', '{:locations ["SV"]}'),
|
||||
('LFT', 'Lefty''s East Coast Pizzeria', '{:locations ["SB"]}'),
|
||||
|
||||
3
migrator/migrations/1530242355-DOWN-add-check-number.sql
Normal file
3
migrator/migrations/1530242355-DOWN-add-check-number.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
-- 1530242355 DOWN add-check-number
|
||||
alter table transactions drop column check_number;
|
||||
alter table transactions drop column bank_account_id;
|
||||
3
migrator/migrations/1530242355-UP-add-check-number.sql
Normal file
3
migrator/migrations/1530242355-UP-add-check-number.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
-- 1530242355 UP add-check-number
|
||||
alter table transactions add column check_number INT;
|
||||
alter table transactions add column bank_account_id int;
|
||||
Reference in New Issue
Block a user