Difference between revisions of "Database Table: noderefs"

From Dreamwidth Notes
Jump to: navigation, search
m
(Robot: Updating: Format)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
+
{{Database Table|name=noderefs|table type=global|need desc=1|repo=dw-free}}
 
= 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}}
= Relationships =
+
 
+
= Location =
+
 
+
[[Global database]]
+
 
+
[[Category: Database Tables|noderefs]]
+

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