Difference between revisions of "Database Table: active user"

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

Revision as of 18:44, 2 October 2009

Definition

CREATE TABLE active_user (
   userid INT UNSIGNED NOT NULL,
   TYPE   CHAR(1) NOT NULL,
   TIME   INT UNSIGNED NOT NULL,
   KEY (userid),
   KEY (TIME)
)

Relationships

Outgoing

  • Foreign key: userid to user.userid