MuteListStore.migrations 480 B

1234567891011121314151617
  1. :VERSION 1
  2. BEGIN TRANSACTION;
  3. CREATE TABLE IF NOT EXISTS MuteList (
  4. "AgentID" varchar(36) NOT NULL,
  5. "MuteId" varchar(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000',
  6. "MuteName" varchar(64) NOT NULL DEFAULT '',
  7. "MuteType" int4 NOT NULL DEFAULT 1,
  8. "MuteFlags" int4 NOT NULL DEFAULT 0,
  9. "Stamp" int4 NOT NULL,
  10. CONSTRAINT pk_agent_id PRIMARY KEY ("AgentID"),
  11. CONSTRAINT unique_agent_2 UNIQUE ("AgentID", "MuteId", "MuteName")
  12. );
  13. COMMIT;