Difference between revisions of "Database Table: content flag"

From Dreamwidth Notes
Jump to: navigation, search
Line 1: Line 1:
This table supports a content-flagging feature that is not currently enabled in DreamWidth.
+
This table supports a content-flagging feature that is not enabled in DreamWidth.
  
 
= Definition =
 
= Definition =
Line 30: Line 30:
 
[[Global database]]
 
[[Global database]]
  
[[Category: Database Tables|content_flag]]
+
[[Category: Removed Database Tables|content_flag]]

Revision as of 18:25, 23 August 2009

This table supports a content-flagging feature that is not 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