aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>