Skip to content

Instantly share code, notes, and snippets.

@paulbares
Last active June 8, 2020 14:05
Show Gist options
  • Save paulbares/f4e9a4fa3e0e5b2975291d29d1f4b82b to your computer and use it in GitHub Desktop.
Save paulbares/f4e9a4fa3e0e5b2975291d29d1f4b82b to your computer and use it in GitHub Desktop.
recipient table
+--------------------+--------+---------------------------------------------------------+
| column | type | description |
+--------------------+--------+---------------------------------------------------------+
| id | int | Primary key |
+--------------------+--------+---------------------------------------------------------+
| notification_id | int | The id of the notification in the Notification table |
+--------------------+--------+---------------------------------------------------------+
| user_id | string | The receiver user id |
+--------------------+--------+---------------------------------------------------------+
| group_id | string | The receiver group id |
+--------------------+--------+---------------------------------------------------------+
| is_read | byte | Flag if the recipient has already read the notification |
+--------------------+--------+---------------------------------------------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment