From 0cd415c8d24b2b2910c4ff0a1ce1d8f30c88ff35 Mon Sep 17 00:00:00 2001 From: will Date: Tue, 29 Mar 2011 17:16:29 -0700 Subject: [PATCH] rollbacked create-schema foreign key constraint until we can figure out a way to make sure server-setup.xml isn't broken by this for developers. --- setup/db/create-schema.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/db/create-schema.sql b/setup/db/create-schema.sql index 6fd9850fc6d..1b727bb089b 100755 --- a/setup/db/create-schema.sql +++ b/setup/db/create-schema.sql @@ -438,7 +438,7 @@ CREATE TABLE `cloud`.`vlan` ( `data_center_id` bigint unsigned NOT NULL, `network_id` bigint unsigned NOT NULL COMMENT 'id of corresponding network offering', PRIMARY KEY (`id`), - CONSTRAINT `fk_vlan__network_id` FOREIGN KEY (`network_id`) REFERENCES `networks`(`id`), + #CONSTRAINT `fk_vlan__network_id` FOREIGN KEY (`network_id`) REFERENCES `networks`(`id`), CONSTRAINT `fk_vlan__data_center_id` FOREIGN KEY (`data_center_id`) REFERENCES `data_center`(`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;