Database Table: uniqmap

From Dreamwidth Notes
Jump to: navigation, search

This is a global table.

Definition

CREATE TABLE uniqmap (
    uniq VARCHAR(15) NOT NULL,
    userid INT UNSIGNED NOT NULL,
    modtime INT UNSIGNED NOT NULL,
 
    PRIMARY KEY (userid, uniq),
    INDEX(userid, modtime),
    INDEX(uniq, modtime)
)

Relationships