Move data for GA to free

[MAILPOET-2397]
This commit is contained in:
Pavel Dohnal
2019-10-22 13:51:09 +02:00
committed by Jack Kitterhing
parent 780f7a30c0
commit 787cd8373a
2 changed files with 33 additions and 0 deletions

View File

@@ -282,6 +282,7 @@ class Migrator {
'updated_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,',
'deleted_at timestamp NULL,',
'unsubscribe_token char(15) NULL,',
'ga_campaign varchar(250) NOT NULL DEFAULT "",',
'PRIMARY KEY (id),',
'UNIQUE KEY unsubscribe_token (unsubscribe_token),',
'KEY type_status (type,status)',