USE billing; ALTER TABLE invoice_template MODIFY is_active int(1) unsigned NOT NULL DEFAULT '1'; ALTER TABLE `invoice_template` DROP INDEX `invoice_template_reseller_active_UNIQUE`;