ALTER TABLE social.comment
ADD COLUMN feedback_task_id bigint REFERENCES social.feedback_task (id);

CREATE INDEX comment_feedback_task_id_idx ON social.comment USING btree (feedback_task_id);

COMMENT ON COLUMN social.comment.feedback_task_id IS
    'Feedback task to which comment belongs to.';
