# HG changeset patch # User jbe # Date 1449171579 -3600 # Node ID 8182c297783f8626cbb26537bcbce747acbdc95c # Parent b9eafa16c91def883a69f39090ed3acacc0a0dd5 Added parenthesis in constraint "admission_time_not_null_unless_instantly_accepted" diff -r b9eafa16c91d -r 8182c297783f core.sql --- a/core.sql Thu Dec 03 19:32:59 2015 +0100 +++ b/core.sql Thu Dec 03 20:39:39 2015 +0100 @@ -568,7 +568,7 @@ "status_quo_schulze_rank" INT4, CONSTRAINT "admission_time_not_null_unless_instantly_accepted" CHECK ( ("min_admission_time" NOTNULL) = ("max_admission_time" NOTNULL) AND - "min_admission_time" NOTNULL OR ("accepted" NOTNULL AND "accepted" = "created") ), + ("min_admission_time" NOTNULL OR ("accepted" NOTNULL AND "accepted" = "created")) ), CONSTRAINT "valid_state" CHECK ( ( ("accepted" ISNULL AND "half_frozen" ISNULL AND "fully_frozen" ISNULL ) OR