add assembly pom xml
[vfc/gvnfm/vnfres.git] / res / assembly / dbscripts / mysql / openo-gvnfm-vnfres-createobj.sql
1 --
2 -- Copyright 2017 ZTE Corporation.
3 --
4 -- Licensed under the Apache License, Version 2.0 (the "License");
5 -- you may not use this file except in compliance with the License.
6 -- You may obtain a copy of the License at
7 --
8 --     http://www.apache.org/licenses/LICENSE-2.0
9 --
10 -- Unless required by applicable law or agreed to in writing, software
11 -- distributed under the License is distributed on an "AS IS" BASIS,
12 -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 -- See the License for the specific language governing permissions and
14 -- limitations under the License.
15 --
16
17 use gvnfm;
18
19 DROP TABLE IF EXISTS GVNFM_INST;
20 CREATE TABLE GVNFM_INST ( 
21   `CPINSTANCEID` varchar(255) NOT NULL PRIMARY KEY, 
22   `CPDID` varchar(255) NOT NULL, 
23   `CPINSTANCENAME` varchar(255) NOT NULL, 
24   `OWNERTYPE` integer NOT NULL, 
25   `OWNERID` varchar(255) NOT NULL, 
26   `RELATEDTYPE` integer NOT NULL, 
27   `RELATEDVL` varchar(255) NULL, 
28   `RELATEDCP` varchar(255) NULL, 
29   `RELATEDPORT` varchar(255) NULL, 
30   `STATUS` varchar(255) NOT NULL 
31 );
32