Database Table: active_user

From Dreamwidth Notes
Revision as of 16:03, 22 July 2010 by Exor674Bot (Talk | contribs)

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

This is a clustered table.

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