Extension:Echo/table echo_notification

From mediawiki.org
This page is a translated version of the page Extension:Echo/echo notification table and the translation is 100% complete.

Une notification représente le fait de notifier un utilisateur à propos d'un certain événement. Plusieurs utilisateurs peuvent être notifiés pour le même événement.

Champs

notification_event

Clé pour echo_event.event_id

notification_user

Clé pour user.user_id

notification_timestamp

Horodatage à la création de la notification

notification_read_timestamp

Horodatage à la lecture de la notification par l'utilisateur, ou nul si non lu encore

notification_bundle_hash

Valeur de hachage pour regrouper des notifications semblables. Les notifications qui peuvent être regroupées auront la même valeur de hachage

Résumé du schéma

Version de MediaWiki :
1.33
mysql> describe echo_notification;
+----------------------------------+------------------+------+-----+---------+-------+
| Field                            | Type             | Null | Key | Default | Extra |
+----------------------------------+------------------+------+-----+---------+-------+
| notification_event               | int(10) unsigned | NO   | PRI | NULL    |       |
| notification_user                | int(10) unsigned | NO   | PRI | NULL    |       |
| notification_timestamp           | binary(14)       | NO   |     | NULL    |       |
| notification_read_timestamp      | binary(14)       | YES  |     | NULL    |       |
| notification_bundle_hash         | varbinary(32)    | NO   |     | NULL    |       |
+----------------------------------+------------------+------+-----+---------+-------+
Versions de MediaWiki :
1.22 – 1.32
mysql> describe echo_notification;
+----------------------------------+------------------+------+-----+---------+-------+
| Field                            | Type             | Null | Key | Default | Extra |
+----------------------------------+------------------+------+-----+---------+-------+
| notification_event               | int(10) unsigned | NO   | PRI | NULL    |       |
| notification_user                | int(10) unsigned | NO   | PRI | NULL    |       |
| notification_timestamp           | binary(14)       | NO   |     | NULL    |       |
| notification_read_timestamp      | binary(14)       | YES  |     | NULL    |       |
| notification_bundle_base         | tinyint(1)       | NO   |     | 1       |       |
| notification_bundle_hash         | varbinary(32)    | NO   |     | NULL    |       |
| notification_bundle_display_hash | varbinary(32)    | NO   |     | NULL    |       |
+----------------------------------+------------------+------+-----+---------+-------+
Versions de MediaWiki :
1.20 – 1.21
mysql> describe echo_notification;
+-----------------------------+------------------+------+-----+---------+-------+
| Field                       | Type             | Null | Key | Default | Extra |
+-----------------------------+------------------+------+-----+---------+-------+
| notification_event          | int(10) unsigned | NO   | PRI | NULL    |       |
| notification_user           | int(10) unsigned | NO   | PRI | NULL    |       |
| notification_timestamp      | binary(14)       | NO   |     | NULL    |       |
| notification_read_timestamp | binary(14)       | YES  |     | NULL    |       |
+-----------------------------+------------------+------+-----+---------+-------+