Skip to content

Instantly share code, notes, and snippets.

@vendethiel
Created October 22, 2016 22:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vendethiel/9573ef16cc45a353dc626ef68432e28a to your computer and use it in GitHub Desktop.
Save vendethiel/9573ef16cc45a353dc626ef68432e28a to your computer and use it in GitHub Desktop.
IP_notifs
CREATE TABLE `phpbb_notifications` (
notification_id INT NOT NULL AUTO_INCREMENT,
notification_type INT NOT NULL,
notification_user_id INT NOT NULL COMMENT 'user id receiving notification',
notification_date DATE COMMENT 'when happened the notification',
notification_data TEXT COMMENT 'JSON of the data (title of post, or whatever)',
notification_trigger_user INT COMMENT '(May be) the user who triggered the notification',
notification_read TINYINT COMMENT 'Was the notification read?'
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment