Save user agent on open

[MAILPOET-3735]
This commit is contained in:
Pavel Dohnal
2021-08-17 12:53:06 +02:00
committed by Veljko V
parent 4f37cde9f9
commit a84471b65c
6 changed files with 84 additions and 12 deletions

View File

@@ -443,6 +443,7 @@ class Migrator {
'newsletter_id int(11) unsigned NOT NULL,',
'subscriber_id int(11) unsigned NOT NULL,',
'queue_id int(11) unsigned NOT NULL,',
'user_agent_id int(11) unsigned NULL,',
'created_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,',
'PRIMARY KEY (id),',
'KEY newsletter_id_subscriber_id (newsletter_id, subscriber_id),',