Difference between revisions of "Database Table: poll"

From Dreamwidth Notes
Jump to: navigation, search
(Robot: Updating: Format, needs desc)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Database Table|name=poll|table type=global|removed=1}}
+
{{Database Table|name=poll|table type=global|repo=dw-free|removed=1|removed in=a907ed584e44}}
 
Deprecated in favor of [[Database Table: poll2|poll2]] (clustered).
 
Deprecated in favor of [[Database Table: poll2|poll2]] (clustered).
 
= Definition =
 
= Definition =

Latest revision as of 16:28, 22 July 2010

Note: This table is removed and no longer used. This table was removed in dw-free changeset a907ed584e44 [1]
This is a global table. Deprecated in favor of poll2 (clustered).

Definition

CREATE TABLE poll (
  pollid INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  itemid INT(10) UNSIGNED NOT NULL DEFAULT '0',
  journalid INT(10) UNSIGNED NOT NULL DEFAULT '0',
  posterid INT(10) UNSIGNED NOT NULL DEFAULT '0',
  whovote enum('all','friends') NOT NULL DEFAULT 'all',
  whoview enum('all','friends','none') NOT NULL DEFAULT 'all',
  name VARCHAR(255) DEFAULT NULL,
  PRIMARY KEY  (pollid),
  KEY (itemid),
  KEY (journalid),
  KEY (posterid)
)