USE billing;

ALTER TABLE invoice_templates MODIFY COLUMN reseller_id int(11) unsigned;

ALTER TABLE invoice_templates ADD COLUMN category enum('customer','peer','reseller','did') NOT NULL DEFAULT 'customer';