mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
new module creation
This commit is contained in:
18
e107_plugins/poll/poll_sql.php
Normal file
18
e107_plugins/poll/poll_sql.php
Normal file
@@ -0,0 +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 tinyint(3) unsigned NOT NULL default '0',
|
||||
poll_storage_method tinyint(1) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (poll_id)
|
||||
) TYPE=MyISAM;
|
Reference in New Issue
Block a user