Edgewall Software

Changes between Version 1 and Version 2 of TracDev/DatabaseSchema/NotificationSystem


Ignore:
Timestamp:
Dec 20, 2014, 7:53:56 PM (9 years ago)
Author:
Peter Suter
Comment:

Added notify_watch table (#11869)

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/DatabaseSchema/NotificationSystem

    v1 v2  
    3333See [browser:trunk/trac/notification/model.py#/ trac.notification.model.Subscription]
    3434
     35== Table `notify_watch`
     36||'''Table'''||'''Key'''||
     37||''notify_watch''||''id''||
     38
     39||'''Columns'''||'''Type'''||'''Notes'''||
     40||''id''||`auto_increment`|| ||
     41||''sid''|| || The session ID of the subscriber. ||
     42||''authenticated''||`int`|| `1` for authenticated session IDs, `0` for anonymous session IDs ||
     43||''class''|| || The name of the Python class that stored this watch. ||
     44||''realm''|| || The realm of this subscription (e.g. `ticket`). ||
     45||''target''|| || The target of this subscription (e.g. a ticket id). ||
     46
     47||'''Indices'''||
     48||''sid'', ''authenticated'', ''class''||
     49||''class'', ''realm'', ''target''||
     50
     51Stores watches to identify the target resource(s) of a subscription (e.g. a watched ticket's id, wiki page filters, joined groups, etc.)
     52
     53Use the `trac.notification.model.Watch` model class to access this table.
     54
     55See [browser:trunk/trac/notification/model.py#/ trac.notification.model.Watch]