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:
24
e107_plugins/pm/pm_sql.php
Executable file
24
e107_plugins/pm/pm_sql.php
Executable file
@@ -0,0 +1,24 @@
|
||||
CREATE TABLE private_msg (
|
||||
pm_id int(10) unsigned NOT NULL auto_increment,
|
||||
pm_from int(10) unsigned NOT NULL default '0',
|
||||
pm_to varchar(250) NOT NULL default '',
|
||||
pm_sent int(10) unsigned NOT NULL default '0',
|
||||
pm_read int(10) unsigned NOT NULL default '0',
|
||||
pm_subject text NOT NULL,
|
||||
pm_text text NOT NULL,
|
||||
pm_sent_del tinyint(1) unsigned NOT NULL default '0',
|
||||
pm_read_del tinyint(1) unsigned NOT NULL default '0',
|
||||
pm_attachments text NOT NULL,
|
||||
pm_option varchar(250) NOT NULL default '',
|
||||
pm_size int(10) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (pm_id)
|
||||
) TYPE=MyISAM AUTO_INCREMENT=1 ;
|
||||
|
||||
CREATE TABLE private_msg_block (
|
||||
pm_block_id int(10) unsigned NOT NULL auto_increment,
|
||||
pm_block_from int(10) unsigned NOT NULL default '0',
|
||||
pm_block_to int(10) unsigned NOT NULL default '0',
|
||||
pm_block_datestamp int(10) unsigned NOT NULL default '0',
|
||||
pm_block_count int(10) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (pm_block_id)
|
||||
) TYPE=MyISAM AUTO_INCREMENT=1 ;
|
Reference in New Issue
Block a user