Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
satellite/console: add usersDB method GetExpiresBeforeWithStatus
Add new type console.TrialNotificationStatus to define values in users column trial_notifications. Add usersDB method GetExpiresBeforeWithStatus, which takes a TrialNotificationStatus and a timestamp and returns free tier users where trial_expiration is before the timestamp argument and trial_notifications is equal to the TrialNotificationStatus argument. updates storj/storj-private#608 Change-Id: Iaaa33cd8a102e5e4e754c6c808d5bda69c6454a9
- Loading branch information
Showing
3 changed files
with
146 additions
and
2 deletions.
There are no files selected for viewing
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