Database Table: urimap

From Dreamwidth Notes
Revision as of 19:40, 1 September 2009 by 68.17.171.105 (Talk)

Jump to: navigation, search

Clustered. Stores data for mapping a named URI permalink - that is: http://somejournal.example.com/this_is_a_named_uri.html (not-yet-implemented), to the respective entry.

Definition

CREATE TABLE urimap (
  journalid   INTEGER UNSIGNED NOT NULL,
  uri         VARCHAR(255) BINARY NOT NULL,
  PRIMARY KEY (journalid, uri),
  nodetype    CHAR(1) NOT NULL,
  nodeid      INTEGER UNSIGNED NOT NULL,
  INDEX       (journalid, nodetype, nodeid)
)

Relationships

Location

Clustered database