Add column for saving last engagement date for a subscriber

[MAILPOET-3762]
This commit is contained in:
Rostislav Wolny
2021-08-30 16:18:03 +02:00
committed by Veljko V
parent aecee74bb4
commit 4a72a9c2f1

View File

@@ -224,6 +224,7 @@ class Migrator {
'link_token char(32) NULL,',
'engagement_score FLOAT unsigned NULL,',
'engagement_score_updated_at timestamp NULL,',
'last_engagement_at timestamp NULL,',
'PRIMARY KEY (id),',
'UNIQUE KEY email (email),',
'UNIQUE KEY unsubscribe_token (unsubscribe_token),',