Database Table: content flag

From Dreamwidth Notes
Revision as of 10:57, 31 March 2009 by Dreamnestia (Talk | contribs)

Jump to: navigation, search

This table supports a content-flagging feature that is not currently enabled in DreamWidth.

Definition

CREATE TABLE content_flag (
  flagid INT UNSIGNED NOT NULL AUTO_INCREMENT,
  journalid INT UNSIGNED NOT NULL,
  typeid TINYINT UNSIGNED NOT NULL,
  itemid INT UNSIGNED,
  catid TINYINT UNSIGNED NOT NULL,
  reporterid INT UNSIGNED NOT NULL,
  reporteruniq VARCHAR(15),
  instime INT UNSIGNED NOT NULL,
  modtime INT UNSIGNED NOT NULL,
  STATUS CHAR(1),
 
  PRIMARY KEY (flagid),
  INDEX (journalid, typeid, itemid),
  INDEX (instime),
  INDEX (reporterid),
  INDEX (STATUS)
)

Relationships

Location

Global database