setup: Initiate SQL upgrade file from 3.0.3 to 4.0.0 This only adds the user_info column to the storage_pool table, but we'll probably have more SQL changes coming up.
They can all go into this file. Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/bf2e3d6a Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/bf2e3d6a Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/bf2e3d6a Branch: refs/heads/vpc Commit: bf2e3d6ae1906ddeac82672232430b8d6c967a6b Parents: 3f4b760 Author: Wido den Hollander <[email protected]> Authored: Thu Jul 26 23:03:34 2012 +0200 Committer: Wido den Hollander <[email protected]> Committed: Thu Jul 26 23:03:34 2012 +0200 ---------------------------------------------------------------------- setup/db/db/schema-303to40.sql | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/bf2e3d6a/setup/db/db/schema-303to40.sql ---------------------------------------------------------------------- diff --git a/setup/db/db/schema-303to40.sql b/setup/db/db/schema-303to40.sql new file mode 100644 index 0000000..87dd1d3 --- /dev/null +++ b/setup/db/db/schema-303to40.sql @@ -0,0 +1,22 @@ +-- Licensed to the Apache Software Foundation (ASF) under one +-- or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information +-- regarding copyright ownership. The ASF licenses this file +-- to you under the Apache License, Version 2.0 (the +-- "License"); you may not use this file except in compliance +-- with the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, +-- software distributed under the License is distributed on an +-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +-- KIND, either express or implied. See the License for the +-- specific language governing permissions and limitations +-- under the License. + +--; +-- Schema upgrade from 3.0.3 to 4.0.0; +--; + +ALTER TABLE `storage_pool` ADD `user_info` VARCHAR( 255 ) NULL COMMENT 'Authorization information for the storage pool. Used by network filesystems' AFTER `host_address`;
