aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorRenu Kumari <renu.kumari@bell.ca>2022-01-05 07:17:42 -0500
committerRenu Kumari <renu.kumari@bell.ca>2022-01-05 07:20:23 -0500
commit2a12d700f4f5ad21dc371fc94aeda0208e659387 (patch)
tree9732c87a73d2e02f20b9298489166faddd73961c /src/main
parent4b57fd343378f0cc09f276a7bc0c20a3e4e18fa0 (diff)
Add NotNull DB Constraint to operation field
Issue-ID: CPS-826 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I55d8d4fb9000ecf7a84b1b4aa7ec41e95420543c
Diffstat (limited to 'src/main')
-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>