--- create-facebook-channels

CREATE TABLE facebook_channels (
  id                   BIGINT  NOT NULL REFERENCES channels (id),
  page_id              VARCHAR NOT NULL,
  last_sent_message_id BIGINT NOT NULL DEFAULT 0,
  deleted              BOOLEAN NOT NULL  DEFAULT FALSE,
  PRIMARY KEY (id)
);
