From 90365437f762b81ebe50f350188dc5f9c272fd63 Mon Sep 17 00:00:00 2001 From: abhishek Date: Fri, 15 Oct 2010 13:35:06 -0700 Subject: [PATCH] schema changes for pool and netapp volume tables --- setup/db/create-schema.sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup/db/create-schema.sql b/setup/db/create-schema.sql index f06e1fce2de..362befb8698 100644 --- a/setup/db/create-schema.sql +++ b/setup/db/create-schema.sql @@ -82,8 +82,9 @@ DROP TABLE IF EXISTS `cloud`.`lun`; CREATE TABLE `cloud`.`netapp_volume` ( `id` bigint unsigned NOT NULL UNIQUE AUTO_INCREMENT COMMENT 'id', - `ip_address` varchar(15) NOT NULL COMMENT 'ip address of the pool/volume', - `pool_name` varchar(255) NOT NULL COMMENT 'name for the pool/volume', + `ip_address` varchar(255) NOT NULL COMMENT 'ip address/fqdn of the volume', + `pool_id` bigint unsigned NOT NULL COMMENT 'id for the pool', + `pool_name` varchar(255) NOT NULL COMMENT 'name for the pool', `aggregate_name` varchar(255) NOT NULL COMMENT 'name for the aggregate', `volume_name` varchar(255) NOT NULL COMMENT 'name for the volume', `volume_size` varchar(255) NOT NULL COMMENT 'volume size',