Difference between revisions of "Database Table: externalaccount"

From Dreamwidth Notes
Jump to: navigation, search
(Robot: Updating: Format, definition)
(Robot: Updating: Format)
Line 1: Line 1:
{{Database Table|name=externalaccount|table type=clustered|need desc=1}}
+
{{Database Table|name=externalaccount|table type=clustered|need desc=1|repo=dw-free}}
 
= Definition =
 
= Definition =
 
<source lang="sql">
 
<source lang="sql">

Revision as of 16:02, 22 July 2010

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',
    PRIMARY KEY (userid, acctid),
    INDEX (userid)
)

Relationships