aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraditya puthuparambil <aditya.puthuparambil@bell.ca>2022-01-06 11:29:52 +0000
committerGerrit Code Review <gerrit@onap.org>2022-01-06 11:29:52 +0000
commit16400822688ddd5ec6175158590a84bd8f5c9875 (patch)
tree6286d0b3861b81527321eb0eb8ea16b179a0c910
parent7b3d88c0e6f7baeadb33cc70138c374cf665ad3f (diff)
parent2a12d700f4f5ad21dc371fc94aeda0208e659387 (diff)
Merge "Add NotNull DB Constraint to operation field"
-rw-r--r--src/main/resources/db/changelog/schema/04-added-operation-field-in-network-data.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/resources/db/changelog/schema/04-added-operation-field-in-network-data.xml b/src/main/resources/db/changelog/schema/04-added-operation-field-in-network-data.xml
index 62b93b9..88b3f92 100644
--- a/src/main/resources/db/changelog/schema/04-added-operation-field-in-network-data.xml
+++ b/src/main/resources/db/changelog/schema/04-added-operation-field-in-network-data.xml
@@ -48,4 +48,8 @@
<comment>Remove not null constraint from payload to support delete operation</comment>
<dropNotNullConstraint tableName="network_data" columnName="payload"/>
</changeSet>
+ <changeSet id="4.3" author="cps">
+ <comment>Added not null constraint to operation field</comment>
+ <addNotNullConstraint tableName="network_data" columnName="operation"/>
+ </changeSet>
</databaseChangeLog>