Difference between revisions of "Database Table: noderefs"

From Dreamwidth Notes
Jump to: navigation, search
m (Robot: This table needs a description.)
(Robot: Updating: Format)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Database Table|name=noderefs|table type=global}}
+
{{Database Table|name=noderefs|table type=global|need desc=1|repo=dw-free}}
[[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}}

Latest revision as of 15:56, 22 July 2010

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