CST-12178 default score value as null, checks about its value has to be delegated to the services, not as db constraints

This commit is contained in:
frabacche
2023-10-17 10:06:50 +02:00
parent 12dec08d15
commit 8b67c77ce8
2 changed files with 2 additions and 2 deletions

View File

@@ -10,4 +10,4 @@
-- edit notifyservice table add score column -- edit notifyservice table add score column
----------------------------------------------------------------------------------- -----------------------------------------------------------------------------------
ALTER TABLE notifyservice ADD COLUMN score NUMERIC(6, 5) DEFAULT NULL CHECK (score >= 0 AND score <= 1); ALTER TABLE notifyservice ADD COLUMN score NUMERIC(6, 5);

View File

@@ -10,4 +10,4 @@
-- edit notifyservice table add score column -- edit notifyservice table add score column
----------------------------------------------------------------------------------- -----------------------------------------------------------------------------------
ALTER TABLE notifyservice ADD COLUMN score NUMERIC(6, 5) DEFAULT NULL CHECK (score >= 0 AND score <= 1); ALTER TABLE notifyservice ADD COLUMN score NUMERIC(6, 5);