Difference between revisions of "Database Table: txtmsg"

From Dreamwidth Notes
Jump to: navigation, search
(Robot: Updating: Format, definition)
Line 1: Line 1:
{{Database Table|name=txtmsg|Table type=global}}
+
{{Database Table|name=txtmsg|table type=global}}
 
[[Description::This table stores numbers and message data for text messaging. NOT specific to the TextLJ feature, which is not supported in DreamWidth.]]
 
[[Description::This table stores numbers and message data for text messaging. NOT specific to the TextLJ feature, which is not supported in DreamWidth.]]
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE txtmsg (
 
CREATE TABLE txtmsg (
  userid int(10) unsigned NOT NULL default '0',
+
    userid int(10) unsigned NOT NULL default '0',
  provider varchar(25) default NULL,
+
    provider varchar(25) default NULL,
  number varchar(60) default NULL,
+
    number varchar(60) default NULL,
  security enum('all','reg','friends') NOT NULL default 'all',
+
    security enum('all','reg','friends') NOT NULL default 'all',
  PRIMARY KEY  (userid)
+
 
 +
    PRIMARY KEY  (userid)
 
)
 
)
 
</source>
 
</source>
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Revision as of 07:08, 28 January 2010

"{{{repo}}}" is not in the list of possible values (dw-free, dw-nonfree) for this property. This is a global table. This table stores numbers and message data for text messaging. NOT specific to the TextLJ feature, which is not supported in DreamWidth.

Definition

CREATE TABLE txtmsg (
    userid INT(10) UNSIGNED NOT NULL DEFAULT '0',
    provider VARCHAR(25) DEFAULT NULL,
    NUMBER VARCHAR(60) DEFAULT NULL,
    security enum('all','reg','friends') NOT NULL DEFAULT 'all',
 
    PRIMARY KEY  (userid)
)

Relationships