diff options
author | 2016-11-04 10:18:16 +0800 | |
---|---|---|
committer | 2016-11-04 10:18:16 +0800 | |
commit | 6b830fad5e84002d862658f7fd1cdaa3ad346da4 (patch) | |
tree | 56fc284d8fd7006b97adc646d5db480735d586fc /catalog-core/distribution | |
parent | f87bce9b9ef9a1dea51b6cb537804a8a316927c0 (diff) |
TOSCA-169 Fix issue
Change-Id: Idd06e0cbd0b7959356f3eb2d24ebd754ab40786e
Issue-id: TOSCA-169
Signed-off-by: sunqi310 <sun.qi310@zte.com.cn>
Diffstat (limited to 'catalog-core/distribution')
-rw-r--r-- | catalog-core/distribution/catalog-standalone/src/main/assembly/dbscripts/mysql/openo-common_tosca-catalog-createobj.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/catalog-core/distribution/catalog-standalone/src/main/assembly/dbscripts/mysql/openo-common_tosca-catalog-createobj.sql b/catalog-core/distribution/catalog-standalone/src/main/assembly/dbscripts/mysql/openo-common_tosca-catalog-createobj.sql index ed081375..2efd5650 100644 --- a/catalog-core/distribution/catalog-standalone/src/main/assembly/dbscripts/mysql/openo-common_tosca-catalog-createobj.sql +++ b/catalog-core/distribution/catalog-standalone/src/main/assembly/dbscripts/mysql/openo-common_tosca-catalog-createobj.sql @@ -77,12 +77,12 @@ DROP TABLE IF EXISTS catalog_node_template_table; CREATE TABLE catalog_node_template_table (
NODETEMPLATEID VARCHAR(200) NOT NULL,
NAME VARCHAR(100) NULL,
- SERVICETEMPLATEID VARCHAR(200) NULL,
+ SERVICETEMPLATEID VARCHAR(200) NOT NULL,
TYPE VARCHAR(50) NULL,
PROPERTIES LONGTEXT NULL,
RELATIONSHIPS LONGTEXT NULL,
- CONSTRAINT catalog_node_template_table PRIMARY KEY(NODETEMPLATEID)
+ CONSTRAINT catalog_node_template_table PRIMARY KEY(NODETEMPLATEID,SERVICETEMPLATEID)
);
DROP TABLE IF EXISTS catalog_model_substitution_mapping_table;
CREATE TABLE catalog_model_substitution_mapping_table (
|