Sending queue refactoring WIP [MAILPOET-903]
This commit is contained in:
@ -137,18 +137,14 @@ class Migrator {
|
||||
function sendingQueues() {
|
||||
$attributes = array(
|
||||
'id int(11) unsigned NOT NULL AUTO_INCREMENT,',
|
||||
'type varchar(90) NULL DEFAULT NULL,',
|
||||
'task_id int(11) unsigned NOT NULL,',
|
||||
'newsletter_id int(11) unsigned NOT NULL,',
|
||||
'newsletter_rendered_body longtext,',
|
||||
'newsletter_rendered_subject varchar(250) NULL DEFAULT NULL,',
|
||||
'subscribers longtext,',
|
||||
'status varchar(12) NULL DEFAULT NULL,',
|
||||
'priority mediumint(9) NOT NULL DEFAULT 0,',
|
||||
'count_total int(11) unsigned NOT NULL DEFAULT 0,',
|
||||
'count_processed int(11) unsigned NOT NULL DEFAULT 0,',
|
||||
'count_to_process int(11) unsigned NOT NULL DEFAULT 0,',
|
||||
'scheduled_at TIMESTAMP NULL,',
|
||||
'processed_at TIMESTAMP NULL,',
|
||||
'created_at TIMESTAMP NULL,',
|
||||
'updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,',
|
||||
'deleted_at TIMESTAMP NULL,',
|
||||
|
Reference in New Issue
Block a user