aboutsummaryrefslogtreecommitdiffstats
path: root/volumes
diff options
context:
space:
mode:
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>2018-03-25 12:44:52 +0000
committersubhash kumar singh <subhash.kumar.singh@huawei.com>2018-03-25 12:44:52 +0000
commit7382d003f25dc09dd17f7f520fea42d0220623f3 (patch)
tree3514d5b72901f93feaf54e098017a15060e56633 /volumes
parenta0690a6153ca7535e00ca3837b78912b2749273b (diff)
Modify SERVICE table schema
Modify service table schema as per the defined model. Add two column: `ENVIRONMENT_CONTEXT` varchar(200) DEFAULT NULL, `WORKLOAD_CONTEXT` varchar(200) DEFAULT NULL, Change-Id: I64b8c790a5e8798199f3dd16ab200fa3f63cd883 Issue-ID: SO-422 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Diffstat (limited to 'volumes')
-rw-r--r--volumes/mariadb/docker-entrypoint-initdb.d/db-sql-scripts/main-schemas/MySQL-Catalog-schema.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/volumes/mariadb/docker-entrypoint-initdb.d/db-sql-scripts/main-schemas/MySQL-Catalog-schema.sql b/volumes/mariadb/docker-entrypoint-initdb.d/db-sql-scripts/main-schemas/MySQL-Catalog-schema.sql
index ca002fb..7d6e380 100644
--- a/volumes/mariadb/docker-entrypoint-initdb.d/db-sql-scripts/main-schemas/MySQL-Catalog-schema.sql
+++ b/volumes/mariadb/docker-entrypoint-initdb.d/db-sql-scripts/main-schemas/MySQL-Catalog-schema.sql
@@ -239,6 +239,8 @@
MODEL_INVARIANT_UUID varchar(200) default 'MANUAL_RECORD' not null,
SERVICE_TYPE varchar(20),
SERVICE_ROLE varchar(20),
+ ENVIRONMENT_CONTEXT varchar(200) default null,
+ WORKLOAD_CONTEXT varchar(200) default null,
primary key (MODEL_UUID)
);