Skip to content
Snippets Groups Projects
Commit 73b93b90 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Bug #18597: updated the database scheme.  Renamed poll.voters to poll.polled.
parent f60da5b0
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -497,7 +497,7 @@ CREATE TABLE permission ( ...@@ -497,7 +497,7 @@ CREATE TABLE permission (
CREATE TABLE poll ( CREATE TABLE poll (
nid int(10) unsigned NOT NULL default '0', nid int(10) unsigned NOT NULL default '0',
runtime int(10) NOT NULL default '0', runtime int(10) NOT NULL default '0',
voters longtext NOT NULL, polled longtext NOT NULL,
active int(2) unsigned NOT NULL default '0', active int(2) unsigned NOT NULL default '0',
PRIMARY KEY (nid) PRIMARY KEY (nid)
) TYPE=MyISAM; ) TYPE=MyISAM;
......
...@@ -509,7 +509,7 @@ CREATE INDEX permission_rid_idx ON permission(rid); ...@@ -509,7 +509,7 @@ CREATE INDEX permission_rid_idx ON permission(rid);
CREATE TABLE poll ( CREATE TABLE poll (
nid integer NOT NULL default '0', nid integer NOT NULL default '0',
runtime integer NOT NULL default '0', runtime integer NOT NULL default '0',
voters text NOT NULL default '', polled text NOT NULL default '',
active integer NOT NULL default '0', active integer NOT NULL default '0',
PRIMARY KEY (nid) PRIMARY KEY (nid)
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment