aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-10-03 16:25:53 +0100
committerStruan Donald <struan@exo.org.uk>2012-10-03 16:25:53 +0100
commit2605d8578e622be0db48d3d234059e8e9951e813 (patch)
tree3f28f32c3220fa3aa5cb2400d45c25f030dfbbd5 /db
parent9c9fb7456d614c7d96881751a14f2dfff5c4225d (diff)
correct name of comment state constraint
Diffstat (limited to 'db')
-rw-r--r--db/schema_0025-add_more_statuses_to_problem.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/schema_0025-add_more_statuses_to_problem.sql b/db/schema_0025-add_more_statuses_to_problem.sql
index 300f12619..9c49c8566 100644
--- a/db/schema_0025-add_more_statuses_to_problem.sql
+++ b/db/schema_0025-add_more_statuses_to_problem.sql
@@ -21,9 +21,9 @@ BEGIN;
);
- ALTER TABLE comment DROP CONSTRAINT problem_state_check;
+ ALTER TABLE comment DROP CONSTRAINT comment_problem_state_check;
- ALTER TABLE comment ADD CONSTRAINT problem_state_check CHECK (
+ ALTER TABLE comment ADD CONSTRAINT comment_problem_state_check CHECK (
problem_state = 'confirmed'
or problem_state = 'investigating'
or problem_state = 'planned'