--- autoreplies

ALTER TABLE autoreplies
  ADD project_id BIGINT REFERENCES projects (id),
  ADD deleted_at TIMESTAMPTZ,
  DROP COLUMN channel_id;

CREATE INDEX autoreplies_project_id_ix
  ON autoreplies (project_id);
