-- ----------------------------
-- Table structure for alarm_relation
-- ----------------------------
DROP TABLE IF EXISTS "alarm_relation";
CREATE TABLE "alarm_relation" (
  "id" integer NOT NULL,
  "created_at" text(3),
  "updated_at" text(3),
  "deleted_at" text(3),
  "root_alarm_id" text(64),
  "alarm_id" text(64),
  "relation_type" text(64),
  "add_info" text(64),
  PRIMARY KEY ("id")
);

-- ----------------------------
-- Indexes structure for table alarm_relation
-- ----------------------------
CREATE INDEX "idx_alarm_relation_deleted_at"
ON "alarm_relation" (
  "deleted_at" ASC
);

-- ----------------------------
-- Records of alarm_relation
-- ----------------------------
