aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/schema_8.sql
diff options
context:
space:
mode:
authordglFromAtt <dgl@research.att.com>2018-04-23 22:39:55 -0400
committerdglFromAtt <dgl@research.att.com>2018-04-23 22:40:04 -0400
commit57122824826dab8e382bebcea32bddf374cebf1b (patch)
treee1b220a3b085a204120b0fcf6053a792e11d0322 /src/main/resources/schema_8.sql
parentf283c8d30ab3e5cde52906bc41c368f07733bb81 (diff)
Corrections to stmt ordering for using diff schema
Change-Id: I82b643b46f88f2c6db519bbd9b85e1a2e5d06a6d Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-434
Diffstat (limited to 'src/main/resources/schema_8.sql')
-rw-r--r--src/main/resources/schema_8.sql27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/main/resources/schema_8.sql b/src/main/resources/schema_8.sql
new file mode 100644
index 0000000..2652822
--- /dev/null
+++ b/src/main/resources/schema_8.sql
@@ -0,0 +1,27 @@
+---
+-- ============LICENSE_START=======================================================
+-- OpenECOMP - org.onap.dbcapi
+-- ================================================================================
+-- Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+-- ================================================================================
+-- Licensed 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.
+-- ============LICENSE_END=========================================================
+---
+
+
+@alter table mr_cluster
+ drop column hosts
+;
+
+
+update dmaapbc_sch_ver set version = 8 where version = 7;