Difference between revisions of "Database Table: externalaccount"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with '{{Database Table|name=externalaccount|table type=global}} Category:Database Tables Needing Description = Definition = <source lang="sql"> CREATE table externalaccount ( u…')
 
m (Robot: Updating: Format, definition)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Database Table|name=externalaccount|table type=global}}
+
{{Database Table|name=externalaccount|table type=clustered|need desc=1|repo=dw-free}}
[[Category:Database Tables Needing Description]]
+
 
= Definition =
 
= Definition =
 
<source lang="sql">
 
<source lang="sql">
Line 13: Line 12:
 
     serviceurl varchar(128),
 
     serviceurl varchar(128),
 
     xpostbydefault enum('1','0') NOT NULL default '0',
 
     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),
 
     primary key (userid, acctid),
 
     index (userid)
 
     index (userid)

Latest revision as of 04:04, 8 June 2013

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