Difference between revisions of "Database Table: commenturls"

From Dreamwidth Notes
Jump to: navigation, search
m
(Robot: Updating: Format, needs desc, definition)
Line 1: Line 1:
{{Database Table|name=commenturls|Table type=global}}
+
{{Database Table|name=commenturls|table type=global|need desc=1}}
[[Category:Database Tables Needing Description]]
+
 
= Definition =
 
= Definition =
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE commenturls (
 
CREATE TABLE commenturls (
  posterid int unsigned NOT NULL,
+
    posterid int unsigned NOT NULL,
  journalid int unsigned NOT NULL,
+
    journalid int unsigned NOT NULL,
  jtalkid mediumint unsigned NOT NULL,
+
    jtalkid mediumint unsigned NOT NULL,
  timecreate int unsigned NOT NULL,
+
    timecreate int unsigned NOT NULL,
  url varchar(255) NOT NULL,
+
    url varchar(255) NOT NULL,
  INDEX (timecreate)
+
 
 +
    INDEX (timecreate)
 
)
 
)
 
</source>
 
</source>
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Revision as of 07:09, 28 January 2010

"{{{repo}}}" is not in the list of possible values (dw-free, dw-nonfree) for this property. This is a global table.

Definition

CREATE TABLE commenturls (
    posterid INT UNSIGNED NOT NULL,
    journalid INT UNSIGNED NOT NULL,
    jtalkid mediumint UNSIGNED NOT NULL,
    timecreate INT UNSIGNED NOT NULL,
    url VARCHAR(255) NOT NULL,
 
    INDEX (timecreate)
)

Relationships

Outgoing

  • Foreign key: journalid to user.userid
  • Foreign key: posterid to user.userid