Skip to content

Instantly share code, notes, and snippets.

@paulbares
Last active June 3, 2020 11:30
Show Gist options
  • Save paulbares/ba9d5fb243410d5bfef72227bc17f535 to your computer and use it in GitHub Desktop.
Save paulbares/ba9d5fb243410d5bfef72227bc17f535 to your computer and use it in GitHub Desktop.
notification table
+--------------------+--------+---------------------------------------------------------+
| column | type | description |
+--------------------+--------+---------------------------------------------------------+
| id | int | Primary key |
+--------------------+--------+---------------------------------------------------------+
| type | string | A type, can be used to group notifications |
+--------------------+--------+---------------------------------------------------------+
| message | string | The message to send and display |
+--------------------+--------+---------------------------------------------------------+
| created_at | Instant| Timestamp of the notification creation date |
+--------------------+--------+---------------------------------------------------------+
| is_active | bool | Flag to indicate if the notification is active or not |
+--------------------+--------+---------------------------------------------------------+
| business_id | string | application’s unique identifier |
+--------------------+--------+---------------------------------------------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment