1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 16:46:50 +02:00

Plugin SQL setup - 'TYPE'-->'ENGINE' for compatibility with recent MySQL

This commit is contained in:
e107steved
2011-03-11 18:58:39 +00:00
parent 81020795e9
commit 76db31ade1
22 changed files with 431 additions and 431 deletions

View File

@@ -1,18 +1,18 @@
CREATE TABLE polls (
poll_id int(10) unsigned NOT NULL auto_increment,
poll_datestamp int(10) unsigned NOT NULL default '0',
poll_start_datestamp int(10) unsigned NOT NULL default '0',
poll_end_datestamp int(10) unsigned NOT NULL default '0',
poll_admin_id int(10) unsigned NOT NULL default '0',
poll_title varchar(250) NOT NULL default '',
poll_options text NOT NULL,
poll_votes text NOT NULL,
poll_ip text NOT NULL,
poll_type tinyint(1) unsigned NOT NULL default '0',
poll_comment tinyint(1) unsigned NOT NULL default '1',
poll_allow_multiple tinyint(1) unsigned NOT NULL default '0',
poll_result_type tinyint(2) unsigned NOT NULL default '0',
poll_vote_userclass smallint(5) unsigned NOT NULL default '0',
poll_storage_method tinyint(1) unsigned NOT NULL default '0',
PRIMARY KEY (poll_id)
) TYPE=MyISAM;
CREATE TABLE polls (
poll_id int(10) unsigned NOT NULL auto_increment,
poll_datestamp int(10) unsigned NOT NULL default '0',
poll_start_datestamp int(10) unsigned NOT NULL default '0',
poll_end_datestamp int(10) unsigned NOT NULL default '0',
poll_admin_id int(10) unsigned NOT NULL default '0',
poll_title varchar(250) NOT NULL default '',
poll_options text NOT NULL,
poll_votes text NOT NULL,
poll_ip text NOT NULL,
poll_type tinyint(1) unsigned NOT NULL default '0',
poll_comment tinyint(1) unsigned NOT NULL default '1',
poll_allow_multiple tinyint(1) unsigned NOT NULL default '0',
poll_result_type tinyint(2) unsigned NOT NULL default '0',
poll_vote_userclass smallint(5) unsigned NOT NULL default '0',
poll_storage_method tinyint(1) unsigned NOT NULL default '0',
PRIMARY KEY (poll_id)
) ENGINE=MyISAM;