MT#5879 It was rather stupid to make unique index on is_active field: there could be a lot of inactive templates.

agranig/subprof
Irina Peshinskaya 12 years ago
parent 18e89eccbe
commit 433f24d4ad

@ -0,0 +1,4 @@
USE billing;
ALTER TABLE `invoice_template`
ADD UNIQUE INDEX `invoice_template_reseller_active_UNIQUE` (`reseller_id`,`is_active`);

@ -0,0 +1,4 @@
USE billing;
ALTER TABLE `invoice_template` DROP INDEX `invoice_template_reseller_active_UNIQUE`;
Loading…
Cancel
Save