1 -- ============LICENSE_START=======================================================
3 -- ================================================================================
4 -- Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
5 -- ================================================================================
6 -- Licensed under the Apache License, Version 2.0 (the "License");
7 -- you may not use this file except in compliance with the License.
8 -- You may obtain a copy of the License at
10 -- http://www.apache.org/licenses/LICENSE-2.0
12 -- Unless required by applicable law or agreed to in writing, software
13 -- distributed under the License is distributed on an "AS IS" BASIS,
14 -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 -- See the License for the specific language governing permissions and
16 -- limitations under the License.
17 -- ============LICENSE_END=========================================================
21 INSERT INTO policyeditorscopes (`id`, `scopename`, `created_date`, `created_by`, `modified_date`, `modified_by`) VALUES ('1', 'com', '2017-06-01 11:45:36', 'demo', '2017-06-01 11:45:36', 'demo');
23 alter table IntegrityAuditEntity modify jdbcUrl varchar(200) not null;
25 alter table `onap_sdk`.`microservicemodels`
26 add column `enumValues` longtext null default null after `version`,
27 add column `annotation` longtext null after `enumValues`;
29 drop table if exists FWTag;
31 Id int NOT NULL AUTO_INCREMENT,
32 tagName VARCHAR(45) NOT NULL,
33 description VARCHAR(1024),
34 tagValues VARCHAR(1024) NOT NULL,
35 CREATED_DATE TIMESTAMP NOT NULL default current_timestamp,
36 CREATED_BY VARCHAR(45) NOT NULL,
37 MODIFIED_DATE TIMESTAMP NOT NULL,
38 MODIFIED_BY VARCHAR(45) NOT NULL,
42 drop table if exists FWTagPicker;
43 CREATE TABLE FWTagPicker(
44 ID INT NOT NULL AUTO_INCREMENT,
45 tagPickerName VARCHAR(45) NOT NULL,
46 DESCRIPTION VARCHAR(1024),
47 tags VARCHAR(1024) NOT NULL,
48 networkRole varchar(64),
49 CREATED_DATE TIMESTAMP NOT NULL default current_timestamp,
50 CREATED_BY VARCHAR(45) NOT NULL,
51 MODIFIED_DATE TIMESTAMP NOT NULL,
52 MODIFIED_BY VARCHAR(45) NOT NULL,
56 drop table if exists brmsdependency;
57 CREATE TABLE brmsdependency (
58 id int not null auto_increment,
59 dependency_name varchar(1024) not null,
60 description varchar(1024),
61 created_by varchar(45) not null,
62 created_date timestamp not null default current_timestamp,
63 modified_by varchar(45),
64 modified_date timestamp,
65 dependency longtext not null,
69 drop table if exists brmscontroller;
70 CREATE TABLE brmscontroller (
71 id int not null auto_increment,
72 controller_name varchar(1024) not null,
73 description varchar(1024),
74 created_by varchar(45) not null,
75 created_date timestamp not null default current_timestamp,
76 modified_by varchar(45),
77 modified_date timestamp,
78 controller longtext not null,
82 drop table if exists microserviceattribute;
83 CREATE TABLE microserviceattribute(
84 ID INT NOT NULL AUTO_INCREMENT,
85 name VARCHAR(255) NOT NULL,
87 modelName VARCHAR(1024) NOT NULL,