CREATE SEQUENCE alerting_id_seq;
CREATE TABLE alerting (
  id bigint NOT NULL DEFAULT nextval('alerting_id_seq') PRIMARY KEY,
  name varchar(255) DEFAULT NULL,
  class varchar(255) DEFAULT NULL,
  "method" varchar(255) DEFAULT NULL,
  expires TIMESTAMP NOT NULL DEFAULT now()
);
ALTER SEQUENCE alerting_id_seq OWNED BY alerting.id;
