mirror of https://github.com/apache/cloudstack.git
schema changes
This commit is contained in:
parent
6cdd852cf9
commit
336e81cc2c
|
|
@ -76,9 +76,10 @@ DROP TABLE IF EXISTS `cloud`.`cluster`;
|
|||
|
||||
/*DO NOT DELETE*/
|
||||
/*
|
||||
DROP TABLE IF EXISTS `cloud`.`netapp_storage_pool`;
|
||||
DROP TABLE IF EXISTS `cloud`.`netapp_volume`;
|
||||
DROP TABLE IF EXISTS `cloud`.`pool`;
|
||||
|
||||
CREATE TABLE `cloud`.`netapp_storage_pool` (
|
||||
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',
|
||||
|
|
@ -92,6 +93,14 @@ CREATE TABLE `cloud`.`netapp_storage_pool` (
|
|||
`round_robin_marker` int COMMENT 'This marks the volume to be picked up for lun creation, RR fashion',
|
||||
PRIMARY KEY (`ip_address`,`aggregate_name`,`volume_name`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
CREATE TABLE `cloud`.`pool` (
|
||||
`id` bigint unsigned NOT NULL UNIQUE AUTO_INCREMENT COMMENT 'id',
|
||||
`name` varchar(255) NOT NULL UNIQUE COMMENT 'name for the pool',
|
||||
`algorithm` varchar(255) NOT NULL COMMENT 'algorithm',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
*/
|
||||
|
||||
CREATE TABLE `cloud`.`cluster` (
|
||||
|
|
|
|||
Loading…
Reference in New Issue