-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(notifictions): link email reminders
- Loading branch information
1 parent
33968fc
commit 2ae3397
Showing
5 changed files
with
152 additions
and
38 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
core/notifications/migrations/20240321091909_create_email_reminder_projection.up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
CREATE TABLE email_reminder_projection ( | ||
id UUID PRIMARY KEY DEFAULT gen_random_uuid(), | ||
galoy_user_id VARCHAR UNIQUE NOT NULL, | ||
user_created_at TIMESTAMPTZ NOT NULL, | ||
last_activity_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), | ||
last_transaction_at TIMESTAMPTZ | ||
user_first_seen_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), | ||
last_transaction_at TIMESTAMPTZ, | ||
last_notified_at TIMESTAMPTZ | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters