Difference between revisions of "Database Table: statushistory"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with 'statushistory =Definition= <source lang="sql"> CREATE TABLE statushistory ( userid INT UNSIGNED NOT NULL, adminid INT UNSIGNED NOT NULL, s...')
 
Line 1: Line 1:
[[Category: Database Table|statushistory]]
+
= Definition =
=Definition=
+
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE statushistory (
 
CREATE TABLE statushistory (
Line 15: Line 15:
 
</source>
 
</source>
  
=Relationships=
+
= Relationships =
 +
 
 +
= Location =
  
=Location=
 
 
[[Global database]]
 
[[Global database]]
 +
 +
[[Category: Database Tables|statushistory]]

Revision as of 16:19, 31 March 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

Location

Global database