Database Table: externalaccount

From Dreamwidth Notes
Revision as of 04:04, 8 June 2013 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 externalaccount (
    userid INT UNSIGNED NOT NULL,
    acctid INT UNSIGNED NOT NULL,
    username VARCHAR(64) NOT NULL,
    password VARCHAR(64),
    siteid INT UNSIGNED,
    servicename VARCHAR(128),
    servicetype VARCHAR(32),
    serviceurl VARCHAR(128),
    xpostbydefault enum('1','0') NOT NULL DEFAULT '0',
    recordlink enum('1','0') NOT NULL DEFAULT '0',
    active enum('1', '0') NOT NULL DEFAULT '1',
    options BLOB,
    PRIMARY KEY (userid, acctid),
    INDEX (userid)
)

Relationships