Difference between revisions of "Database Table: noderefs"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: This table needs a description.)
(Robot: Updating: Format, needs desc, definition)
Line 1: Line 1:
{{Database Table|name=noderefs|table type=global}}
+
{{Database Table|name=noderefs|table type=global|need desc=1}}
[[Category:Database Tables Needing Description]]
+
 
= Definition =
 
= Definition =
 
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE noderefs (
 
CREATE TABLE noderefs (
  nodetype char(1) NOT NULL default '',
+
    nodetype char(1) NOT NULL default '',
  nodeid int(10) unsigned NOT NULL default '0',
+
    nodeid int(10) unsigned NOT NULL default '0',
  urlmd5 varchar(32) NOT NULL default '',
+
    urlmd5 varchar(32) NOT NULL default '',
  url varchar(120) NOT NULL default '',
+
    url varchar(120) NOT NULL default '',
  PRIMARY KEY  (nodetype,nodeid,urlmd5)
+
 
 +
    PRIMARY KEY  (nodetype,nodeid,urlmd5)
 
)
 
)
 
</source>
 
</source>
 
{{Database Table Footer}}
 
{{Database Table Footer}}

Revision as of 07:03, 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 noderefs (
    nodetype CHAR(1) NOT NULL DEFAULT '',
    nodeid INT(10) UNSIGNED NOT NULL DEFAULT '0',
    urlmd5 VARCHAR(32) NOT NULL DEFAULT '',
    url VARCHAR(120) NOT NULL DEFAULT '',
 
    PRIMARY KEY  (nodetype,nodeid,urlmd5)
)

Relationships