I plan on creating a Facebook style alerts system and I am wonder what is the best way to store the alerts. What kind of table should I use?
This is what I was thinking:
CREATE TABLE `alerts`(
id INT NOT NULL PRIMARY KEY
status enum('active','inactive','deleted') DEFAULT active,
user_id INT NOT NULL,
message VARCHAR 255 NOT NULL,
);