Looking for the best way to store flags for the following scenario.
My application has to send certain number of notifications or reminders to users in a specific interval.I am planning to write a batch job to do it. To avoid resending of reminders I want to have some flags.
Example case: Send reminders on 2nd, 5th and 10th day from which the user logged in to the application.
The number of reminders might increase or decrease in the future. I would like to know what is the best way to store the flags - Is it better to store it as a INT and have binary equivalents used for internal representations or use one column for each interval(like one TINYINT(1) for 2nd day, one for 5th and so on...)
The storage space is not a constraint, I am just looking for the best practices across the industry.