Difference between revisions of "Database Table: usermsg"
From Dreamwidth Notes
(Created page with 'usermsg =Definition= <source lang="sql"> CREATE TABLE usermsg ( journalid INT UNSIGNED NOT NULL, msgid INT UNSIGNED NOT NULL, type ...') |
Dreamnestia (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | = Definition = | |
− | =Definition= | + | |
<source lang="sql"> | <source lang="sql"> | ||
CREATE TABLE usermsg ( | CREATE TABLE usermsg ( | ||
Line 16: | Line 16: | ||
</source> | </source> | ||
− | =Relationships= | + | = Relationships = |
+ | |||
+ | = Location = | ||
− | |||
[[Clustered database]] | [[Clustered database]] | ||
+ | |||
+ | [[Category: Database Tables|usermsg]] |
Revision as of 10:33, 4 April 2009
Definition
CREATE TABLE usermsg ( journalid INT UNSIGNED NOT NULL, msgid INT UNSIGNED NOT NULL, TYPE ENUM('in','out') NOT NULL, parent_msgid INT UNSIGNED, otherid INT UNSIGNED NOT NULL, timesent INT UNSIGNED, state CHAR(1) DEFAULT 'A', PRIMARY KEY (journalid,msgid), INDEX (journalid,TYPE,otherid), INDEX (journalid,timesent) )