Difference between revisions of "Database Table: active user"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: Changing ...)
Line 1: Line 1:
 +
{{#set:name=active_user|clustered=true}}
 
= Definition =
 
= Definition =
  
Line 11: Line 12:
 
</source>
 
</source>
  
= Relationships =
+
{{Database Table Footer}}
 
+
= Location =
+
 
+
[[Clustered database]]
+
 
+
[[Category: Database Tables|active_user]]
+

Revision as of 13:11, 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