Skip to content
This repository
tree: 2b0fc3749e
Fetching contributors…

Cannot retrieve contributors at this time

file 16 lines (13 sloc) 0.471 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
begin;

    ALTER TABLE comment ADD column problem_state text;

    ALTER TABLE comment ADD CONSTRAINT comment_problem_state_check CHECK (
        problem_state = 'confirmed'
        or problem_state = 'investigating'
        or problem_state = 'planned'
        or problem_state = 'in progress'
        or problem_state = 'closed'
        or problem_state = 'fixed'
        or problem_state = 'fixed - council'
        or problem_state = 'fixed - user'
    );

commit;
Something went wrong with that request. Please try again.