Difference between revisions of "Database Table: statushistory"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Converting database table to use semantic mediawiki form.)
m (Robot: Converting database table to use semantic mediawiki form.)
Line 1: Line 1:
{{#set:name=statushistory|clustered=false}}
+
{{#set:name=statushistory|table type=global}}
 
= Definition =
 
= Definition =
  

Revision as of 18:46, 2 October 2009

Definition

CREATE TABLE statushistory (
  userid    INT UNSIGNED NOT NULL,
  adminid   INT UNSIGNED NOT NULL,
  shtype    VARCHAR(20) NOT NULL,
  shdate    TIMESTAMP NOT NULL,
  notes     TEXT,
  INDEX (userid, shdate),
  INDEX (adminid, shdate),
  INDEX (adminid, shtype, shdate),
  INDEX (shtype, shdate)
)

Relationships