Database Table: userusage

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

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

This is a global table.

Definition

CREATE TABLE userusage (
    userid INT UNSIGNED NOT NULL,
    PRIMARY KEY (userid),
    timecreate DATETIME NOT NULL,
    timeupdate DATETIME,
    timecheck DATETIME,
    lastitemid INT UNSIGNED NOT NULL DEFAULT '0',
 
    INDEX (timeupdate)
)

Relationships