You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
db-schema/db_scripts/diff/15547.up

11 lines
426 B

use provisioning;
set autocommit=0;
DROP INDEX IF EXISTS resnam_idx ON `billing`.`billing_profiles`;
CREATE UNIQUE INDEX IF NOT EXISTS resnam_idx ON `billing`.`billing_profiles`(`reseller_id`,`name`,`terminate_timestamp`);
DROP INDEX IF EXISTS reshand_idx ON `billing`.`billing_profiles`;
CREATE UNIQUE INDEX IF NOT EXISTS reshand_idx ON `billing`.`billing_profiles`(`reseller_id`, `handle`,`terminate_timestamp`);
commit;