Database Table: talk2

From Dreamwidth Notes
Revision as of 18:09, 22 March 2009 by SlowSculpture (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

CREATE TABLE talk2 (
  journalid INT UNSIGNED NOT NULL,
  jtalkid MEDIUMINT UNSIGNED NOT NULL,
  nodetype CHAR(1) NOT NULL DEFAULT '',
  nodeid INT UNSIGNED NOT NULL DEFAULT '0',
  parenttalkid MEDIUMINT UNSIGNED NOT NULL,
  posterid INT UNSIGNED NOT NULL DEFAULT '0',
  datepost DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
  state CHAR(1) DEFAULT 'A',
  PRIMARY KEY  (journalid,jtalkid),
  KEY (nodetype,journalid,nodeid),
  KEY (journalid,state,nodetype),
  KEY (posterid)
)

Relationships

Location

Clustered database