From 284e72fd02922f8abafeca3e15b472df8f4efe12 Mon Sep 17 00:00:00 2001 From: frank Date: Fri, 18 Nov 2011 14:09:42 -0800 Subject: [PATCH] Fix colon in COMMENT of db schema which makes cloud-setup-database failed --- setup/db/create-schema.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup/db/create-schema.sql b/setup/db/create-schema.sql index fabf765a0de..ae0ab2ed9d3 100755 --- a/setup/db/create-schema.sql +++ b/setup/db/create-schema.sql @@ -190,7 +190,7 @@ CREATE TABLE `cloud`.`networks` ( `network_domain` varchar(255) COMMENT 'domain', `reservation_id` char(40) COMMENT 'reservation id', `is_default` int(1) unsigned NOT NULL DEFAULT 0 COMMENT '1 if network is default', - `guest_type` char(32) COMMENT 'type of guest network; can be shared or isolated', + `guest_type` char(32) COMMENT 'type of guest network that can be shared or isolated', `created` datetime NOT NULL COMMENT 'date created', `removed` datetime COMMENT 'date removed if not null', PRIMARY KEY (`id`), @@ -266,8 +266,8 @@ CREATE TABLE `cloud`.`network_offerings` ( `shared_source_nat_service` int(1) unsigned NOT NULL DEFAULT 0 COMMENT 'true if the network offering provides the shared source nat service', `sort_key` int(32) NOT NULL default 0 COMMENT 'sort key used for customising sort method', `redundant_router_service` int(1) unsigned NOT NULL DEFAULT 0 COMMENT 'true if the network offering provides the redundant router service', - `state` char(32) COMMENT 'state of the network offering; has Disabled value by default', - `guest_type` char(32) COMMENT 'type of guest network; can be shared or isolated', + `state` char(32) COMMENT 'state of the network offering that has Disabled value by default', + `guest_type` char(32) COMMENT 'type of guest network that can be shared or isolated', PRIMARY KEY (`id`), INDEX `i_network_offerings__system_only`(`system_only`), INDEX `i_network_offerings__removed`(`removed`),