mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-21 20:34:57 +09:00
Added patch which creates table for mail queue when updating
This commit is contained in:
1 parent
56c12d492a
commit
d187ca14c8
1 file changed
+27
@@ -17,6 +17,33 @@
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
/**
|
||||
* Version 4.14
|
||||
*/
|
||||
class BBPatch_21 extends BBPatchAbstract
|
||||
{
|
||||
public function patch()
|
||||
{
|
||||
$q = "CREATE TABLE IF NOT EXISTS `mod_email_queue` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`to` varchar(255) NOT NULL,
|
||||
`from` varchar(255) NOT NULL,
|
||||
`subject` varchar(255) NOT NULL,
|
||||
`content` text NOT NULL,
|
||||
`to_name` varchar(255) DEFAULT NULL,
|
||||
`from_name` varchar(255) DEFAULT NULL,
|
||||
`client_id` int(11) DEFAULT NULL,
|
||||
`admin_id` int(11) DEFAULT NULL,
|
||||
`priority` int(11) DEFAULT NULL,
|
||||
`tries` int(11) NOT NULL,
|
||||
`status` varchar(20) NOT NULL,
|
||||
`created_at` datetime NOT NULL,
|
||||
`updated_at` datetime NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;";
|
||||
$this->execSql($q);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Version 4.12
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user