Database Table: users_for_paid_accounts

From Dreamwidth Notes
Jump to: navigation, search

This is a global table.

Definition

CREATE TABLE users_for_paid_accounts (
    userid INT UNSIGNED NOT NULL,
    time_inserted INT UNSIGNED NOT NULL DEFAULT 0,
    points INT(5) UNSIGNED NOT NULL DEFAULT 0,
    journaltype CHAR(1) NOT NULL DEFAULT 'P',
 
    PRIMARY KEY ( userid, time_inserted ),
    INDEX ( time_inserted ),
    INDEX ( journaltype )
)

Relationships