fixed the db schema, removing iqn from lun and adding lun_name

This commit is contained in:
abhishek 2010-10-15 14:22:50 -07:00
parent 074351870d
commit 28d41587b1
1 changed files with 1 additions and 1 deletions

View File

@ -105,9 +105,9 @@ CREATE TABLE `cloud`.`pool` (
CREATE TABLE `cloud`.`lun` (
`id` bigint unsigned NOT NULL UNIQUE AUTO_INCREMENT COMMENT 'id',
`lun_name` varchar(255) NOT NULL COMMENT 'lun name',
`path` varchar(255) NOT NULL COMMENT 'lun path',
`size` bigint NOT NULL COMMENT 'lun size',
`iqn` varchar(255) NOT NULL COMMENT 'lun target iqn',
`volume_id` bigint unsigned NOT NULL COMMENT 'parent volume id',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;