In deletepool, we set the uuid to null. However, in the db, we had a not null constraint on uuid, because of which deletepool would not work. Removing the same constaint.

This commit is contained in:
abhishek 2010-10-19 17:36:17 -07:00
parent 00b81a13e0
commit a007cf2495

View File

@ -929,7 +929,7 @@ CREATE TABLE `cloud`.`load_balancer` (
CREATE TABLE `cloud`.`storage_pool` ( CREATE TABLE `cloud`.`storage_pool` (
`id` bigint unsigned UNIQUE NOT NULL, `id` bigint unsigned UNIQUE NOT NULL,
`name` varchar(255) COMMENT 'should be NOT NULL', `name` varchar(255) COMMENT 'should be NOT NULL',
`uuid` varchar(255) NOT NULL, `uuid` varchar(255),
`pool_type` varchar(32) NOT NULL, `pool_type` varchar(32) NOT NULL,
`port` int unsigned NOT NULL, `port` int unsigned NOT NULL,
`data_center_id` bigint unsigned NOT NULL, `data_center_id` bigint unsigned NOT NULL,