-- 1523022636 DOWN change_company_to_id

delete from invoices;

alter table invoices drop column company_id;
alter table invoices add column company varchar(255);
