CLOUDSTACK-1226: Fix 4.1-new-db-schema.sql, use cloud before exec statements
Signed-off-by: Rohit Yadav <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/3e613788 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/3e613788 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/3e613788 Branch: refs/heads/vim51_win8 Commit: 3e613788e97f5ca389f9cd13ad91cd1985037edb Parents: 34cd2d6 Author: Rohit Yadav <[email protected]> Authored: Mon Feb 11 16:36:41 2013 +0530 Committer: Rohit Yadav <[email protected]> Committed: Mon Feb 11 16:36:41 2013 +0530 ---------------------------------------------------------------------- setup/db/4.1-new-db-schema.sql | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/3e613788/setup/db/4.1-new-db-schema.sql ---------------------------------------------------------------------- diff --git a/setup/db/4.1-new-db-schema.sql b/setup/db/4.1-new-db-schema.sql index e8bafa2..d60eca2 100644 --- a/setup/db/4.1-new-db-schema.sql +++ b/setup/db/4.1-new-db-schema.sql @@ -15,6 +15,8 @@ -- specific language governing permissions and limitations -- under the License. +use cloud; + alter table vm_template add image_data_store_id bigint unsigned; alter table vm_template add size bigint unsigned; alter table vm_template add state varchar(255);
