can import from excel now.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
-- 1525382176 DOWN more-customer-fields
|
||||
ALTER TABLE companies drop column code;
|
||||
delete from invoices;
|
||||
delete from companies;
|
||||
20
migrator/migrations/1525382176-UP-more-customer-fields.sql
Normal file
20
migrator/migrations/1525382176-UP-more-customer-fields.sql
Normal file
@@ -0,0 +1,20 @@
|
||||
-- 1525382176 UP more-customer-fields
|
||||
ALTER TABLE companies ADD code varchar(255);
|
||||
|
||||
INSERT INTO companies (code, name, data)
|
||||
VALUES
|
||||
('BCBC', 'Brown Chicken Brown Cow', '{}'),
|
||||
('BSG', 'Bella Saratoga', '{}'),
|
||||
('CBC', 'Campbell Brewing Co', '{}'),
|
||||
('IBC', 'Iguanas Burritozilla', '{}'),
|
||||
('IBCBC', 'Shared CBC-IBC Expenses', '{}'),
|
||||
('KOG', 'Knock Out Grill & Bar', '{}'),
|
||||
('LFT', 'Lefty''s East Coast Pizzeria', '{}'),
|
||||
('MAM', 'Mama Mia''s', '{}'),
|
||||
('MLF', 'Mama Lu''s Foods', '{}'),
|
||||
('MPI', 'Moscini Pizza Inc', '{}'),
|
||||
('NBST', 'Nasch Bistro', '{}'),
|
||||
('NMKT', 'Naschmarkt', '{}'),
|
||||
('RCI', 'Roberto''s Cantina Inc', '{}'),
|
||||
('SIB', 'Sorelle Italian Bistro', '{}'),
|
||||
('TSL', 'The Socialight', '{}');
|
||||
Reference in New Issue
Block a user