Skip to content

Commit

Permalink
chore: subscription reminders start
Browse files Browse the repository at this point in the history
  • Loading branch information
kayprogrammer committed Dec 17, 2024
1 parent 708260f commit 1320d0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions models/accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ type User struct {

CurrentPlan *choices.SubscriptionTypeChoice `gorm:"null"`
SubscriptionExpiry *time.Time `gorm:"null"`
ReminderSent bool `gorm:"default:false"`

// Back referenced
Books []Book `gorm:"foreignKey:AuthorID"`
Expand Down
1 change: 1 addition & 0 deletions workers/reminders.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package workers

0 comments on commit 1320d0f

Please sign in to comment.