From a93ebd21d225d0aa7243e262bc889381ab0e535f Mon Sep 17 00:00:00 2001 From: Alex Huang Date: Mon, 4 Apr 2011 09:53:36 -0700 Subject: [PATCH] bug 9281: fixed account_id can be null in db --- setup/db/db/schema-21to22-cleanup.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup/db/db/schema-21to22-cleanup.sql b/setup/db/db/schema-21to22-cleanup.sql index a595fa09e85..bccdd1b1f33 100644 --- a/setup/db/db/schema-21to22-cleanup.sql +++ b/setup/db/db/schema-21to22-cleanup.sql @@ -99,3 +99,5 @@ ALTER TABLE `cloud`.`service_offering` DROP COLUMN `guest_ip_type`; ALTER TABLE `cloud`.`load_balancer_vm_map` DROP COLUMN `pending`; +ALTER TABLE `cloud`.`account_vlan_map` ALTER COLUMN `account_id` bigint unsigned NOT NULL; +