CLOUDSTACK-751: 41-42 DB upgrade - insert new global config blacklisted.routes
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/7cae8ca2 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/7cae8ca2 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/7cae8ca2 Branch: refs/heads/rbd-snap-clone Commit: 7cae8ca23102a834509f0277a378e17670992ac6 Parents: 31a6770 Author: Alena Prokharchyk <alena.prokharc...@citrix.com> Authored: Fri May 17 15:06:50 2013 -0700 Committer: Alena Prokharchyk <alena.prokharc...@citrix.com> Committed: Fri May 17 15:07:21 2013 -0700 ---------------------------------------------------------------------- setup/db/db/schema-410to420.sql | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7cae8ca2/setup/db/db/schema-410to420.sql ---------------------------------------------------------------------- diff --git a/setup/db/db/schema-410to420.sql b/setup/db/db/schema-410to420.sql index fe66207..c088ac1 100644 --- a/setup/db/db/schema-410to420.sql +++ b/setup/db/db/schema-410to420.sql @@ -1667,6 +1667,10 @@ CREATE TABLE `cloud`.`nic_ip_alias` ( alter table `cloud`.`vpc_gateways` add column network_acl_id bigint unsigned default 1 NOT NULL; update `cloud`.`vpc_gateways` set network_acl_id = 2; + +INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'VpcManager', 'blacklisted.routes', NULL, 'Routes that are blacklisted, can not be used for Static Routes creation for the VPC Private Gateway'); + + -- Re-enable foreign key checking, at the end of the upgrade path SET foreign_key_checks = 1;