Difference between revisions of "Database Table: txtmsg"

From Dreamwidth Notes
Jump to: navigation, search
(Robot: Updating: Format)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Database Table|name=txtmsg|Table type=global}}
+
{{Database Table|name=txtmsg|table type=global|repo=dw-free}}
 
[[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}}

Latest revision as of 16:02, 22 July 2010

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