Difference between revisions of "Database Table: clustermove"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with 'This table tracks history when users are moved between clusters. clustermove =Definition= <source lang="sql"> CREATE TABLE clustermove ( cmid ...')
 
m
Line 1: Line 1:
 
This table tracks history when users are moved between clusters.
 
This table tracks history when users are moved between clusters.
  
[[Category: Database Table|clustermove]]
+
 
=Definition=
+
= Definition =
 +
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE clustermove (
 
CREATE TABLE clustermove (
Line 17: Line 18:
 
</source>
 
</source>
  
=Relationships=
+
= Relationships =
 +
 
 
Foreign key userid to [[Database Table: user|user]].userid
 
Foreign key userid to [[Database Table: user|user]].userid
  
=Location=
+
= Location =
 +
 
 
[[Global database]]
 
[[Global database]]
 +
 +
[[Category: Database Tables|clustermove]]

Revision as of 16:09, 30 March 2009

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