diff options
author | Renu Kumari <renu.kumari@bell.ca> | 2022-01-05 07:17:42 -0500 |
---|---|---|
committer | Renu Kumari <renu.kumari@bell.ca> | 2022-01-05 07:20:23 -0500 |
commit | 2a12d700f4f5ad21dc371fc94aeda0208e659387 (patch) | |
tree | 9732c87a73d2e02f20b9298489166faddd73961c | |
parent | 4b57fd343378f0cc09f276a7bc0c20a3e4e18fa0 (diff) |
Add NotNull DB Constraint to operation field
Issue-ID: CPS-826
Signed-off-by: Renu Kumari <renu.kumari@bell.ca>
Change-Id: I55d8d4fb9000ecf7a84b1b4aa7ec41e95420543c
-rw-r--r-- | src/main/resources/db/changelog/schema/04-added-operation-field-in-network-data.xml | 4 |
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> |