liquid_feedback_core
changeset 452:8182c297783f
Added parenthesis in constraint "admission_time_not_null_unless_instantly_accepted"
author | jbe |
---|---|
date | Thu Dec 03 20:39:39 2015 +0100 (2015-12-03) |
parents | b9eafa16c91d |
children | fb7ccc4933a8 |
files | core.sql |
line diff
1.1 --- a/core.sql Thu Dec 03 19:32:59 2015 +0100 1.2 +++ b/core.sql Thu Dec 03 20:39:39 2015 +0100 1.3 @@ -568,7 +568,7 @@ 1.4 "status_quo_schulze_rank" INT4, 1.5 CONSTRAINT "admission_time_not_null_unless_instantly_accepted" CHECK ( 1.6 ("min_admission_time" NOTNULL) = ("max_admission_time" NOTNULL) AND 1.7 - "min_admission_time" NOTNULL OR ("accepted" NOTNULL AND "accepted" = "created") ), 1.8 + ("min_admission_time" NOTNULL OR ("accepted" NOTNULL AND "accepted" = "created")) ), 1.9 CONSTRAINT "valid_state" CHECK ( 1.10 ( 1.11 ("accepted" ISNULL AND "half_frozen" ISNULL AND "fully_frozen" ISNULL ) OR