Database Table: clustermove

From Dreamwidth Notes
Revision as of 05:30, 21 March 2009 by SlowSculpture (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This table tracks history when users are moved between clusters.

Definition

CREATE TABLE clustermove (
   cmid      INT UNSIGNED NOT NULL AUTO_INCREMENT,
   PRIMARY KEY (cmid),
   userid    INT UNSIGNED NOT NULL,
   KEY (userid),
   sclust    TINYINT UNSIGNED NOT NULL,
   dclust    TINYINT UNSIGNED NOT NULL,
   timestart INT UNSIGNED,
   timedone  INT UNSIGNED,
   sdeleted  ENUM('1','0')
)

Relationships

Foreign key userid to user.userid

Location

Global database