engine/schema: remove duplicate index region (#3882)

Remove duplicate index region.
This commit is contained in:
Andrija Panic 2020-02-18 09:40:51 +01:00 committed by GitHub
parent 5a42862d41
commit 77fc1026bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -23,3 +23,6 @@ DELETE FROM `cloud`.`configuration` WHERE name = 'host.maintenance.retries';
-- Stop asking user (in the upgraded documentation) to remove a trailing slash for local KVM pool
UPDATE `cloud`.`storage_pool` SET path="/var/lib/libvirt/images" WHERE path="/var/lib/libvirt/images/";
-- remove (one of) duplicate unique indexes from Region table
ALTER TABLE `region` DROP INDEX `id_3`;