Difference between revisions of "Database Table: links"

From Dreamwidth Notes
Jump to: navigation, search
(Robot: Updating: Format, needs desc, definition)
Line 1: Line 1:
{{Database Table|name=links|table type=clustered}}
+
{{Database Table|name=links|table type=clustered|need desc=1}}
[[Category:Database Tables Needing Description]]
+
 
= Definition =
 
= Definition =
 +
<source lang="sql">
 +
CREATE TABLE links (
 +
    journalid int(10) unsigned NOT NULL default '0',
 +
    ordernum tinyint(4) unsigned NOT NULL default '0',
 +
    parentnum tinyint(4) unsigned NOT NULL default '0',
 +
    url varchar(255) default NULL,
 +
    title varchar(255) NOT NULL default '',
  
<source lang="sql">
+
    KEY  (journalid)
CREATE TABLE knob (
+
  knobname    VARCHAR(255) NOT NULL PRIMARY KEY,
+
  val        TINYINT UNSIGNED
+
 
)
 
)
 
</source>
 
</source>
 
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Revision as of 07:01, 28 January 2010

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

Definition

CREATE TABLE links (
    journalid INT(10) UNSIGNED NOT NULL DEFAULT '0',
    ordernum tinyint(4) UNSIGNED NOT NULL DEFAULT '0',
    parentnum tinyint(4) UNSIGNED NOT NULL DEFAULT '0',
    url VARCHAR(255) DEFAULT NULL,
    title VARCHAR(255) NOT NULL DEFAULT '',
 
    KEY  (journalid)
)

Relationships