Difference between revisions of "Database Table: usermsgprop"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with 'usermsgprop =Definition= <source lang="sql"> CREATE TABLE usermsgprop ( journalid INT UNSIGNED NOT NULL, msgid INT UNSIGNED NOT NULL, ...')
 
m (Robot: Updating: Format)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category: Database Table|usermsgprop]]
+
{{Database Table|name=usermsgprop|table type=clustered|need desc=1|repo=dw-free}}
=Definition=
+
The properties the belong in this table are listed at [[Proplists/usermsgprop]].
 +
= Definition =
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE usermsgprop (
 
CREATE TABLE usermsgprop (
  journalid    INT UNSIGNED NOT NULL,
+
    journalid    INT UNSIGNED NOT NULL,
  msgid        INT UNSIGNED NOT NULL,
+
    msgid        INT UNSIGNED NOT NULL,
  propid      SMALLINT UNSIGNED NOT NULL,
+
    propid      SMALLINT UNSIGNED NOT NULL,
  propval      VARCHAR(255) NOT NULL,
+
    propval      VARCHAR(255) NOT NULL,
  PRIMARY KEY (journalid,msgid,propid)
+
 
 +
    PRIMARY KEY (journalid,msgid,propid)
 
)
 
)
 
</source>
 
</source>
 
+
{{Database Table Footer}}
=Relationships=
+
 
+
=Location=
+
[[Clustered database]]
+

Latest revision as of 15:45, 26 December 2011

This is a clustered table. The properties the belong in this table are listed at Proplists/usermsgprop.

Definition

CREATE TABLE usermsgprop (
    journalid    INT UNSIGNED NOT NULL,
    msgid        INT UNSIGNED NOT NULL,
    propid       SMALLINT UNSIGNED NOT NULL,
    propval      VARCHAR(255) NOT NULL,
 
    PRIMARY KEY (journalid,msgid,propid)
)

Relationships