Adds sent_at column to the newsletters table

Modifies populator to update existing newsletters' sent_at field
This commit is contained in:
Vlad
2017-07-05 21:39:14 -04:00
parent b691fb5a48
commit 394118f113
3 changed files with 91 additions and 31 deletions

View File

@@ -211,6 +211,7 @@ class Migrator {
'reply_to_name varchar(150) NOT NULL DEFAULT "",',
'preheader varchar(250) NOT NULL DEFAULT "",',
'body longtext,',
'sent_at TIMESTAMP NULL,',
'created_at TIMESTAMP NULL,',
'updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,',
'deleted_at TIMESTAMP NULL,',