summaryrefslogtreecommitdiffstats
path: root/packages/base/src/files/data
diff options
context:
space:
mode:
Diffstat (limited to 'packages/base/src/files/data')
-rw-r--r--packages/base/src/files/data/mysql/161004_droolspdp_downgrade_script.sql20
-rw-r--r--packages/base/src/files/data/mysql/161004_droolspdp_upgrade_script.sql22
2 files changed, 41 insertions, 1 deletions
diff --git a/packages/base/src/files/data/mysql/161004_droolspdp_downgrade_script.sql b/packages/base/src/files/data/mysql/161004_droolspdp_downgrade_script.sql
index 0f756585..5cabefbf 100644
--- a/packages/base/src/files/data/mysql/161004_droolspdp_downgrade_script.sql
+++ b/packages/base/src/files/data/mysql/161004_droolspdp_downgrade_script.sql
@@ -1,2 +1,22 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP POLICY
+ * ================================================================================
+ * 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 drools.droolsPdpEntity modify updatedDate datetime not null;
alter table drools.droolsPdpEntity modify designatedDate datetime not null;
diff --git a/packages/base/src/files/data/mysql/161004_droolspdp_upgrade_script.sql b/packages/base/src/files/data/mysql/161004_droolspdp_upgrade_script.sql
index f3a6cdda..5069aad8 100644
--- a/packages/base/src/files/data/mysql/161004_droolspdp_upgrade_script.sql
+++ b/packages/base/src/files/data/mysql/161004_droolspdp_upgrade_script.sql
@@ -1,5 +1,25 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP POLICY
+ * ================================================================================
+ * 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 drools.droolsPdpEntity modify updatedDate timestamp not null;
alter table drools.droolsPdpEntity modify designatedDate timestamp not null;
- \ No newline at end of file
+