Database Table: active user

From Dreamwidth Notes
Revision as of 13:11, 2 October 2009 by Exor674Bot (Talk | contribs)

Jump to: navigation, search

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