]> git.mxchange.org Git - friendica.git/blob - doc/database/db_application-marker.md
Merge pull request #12593 from nupplaphil/feat/node.config.php
[friendica.git] / doc / database / db_application-marker.md
1 Table application-marker
2 ===========
3
4 Timeline marker
5
6 Fields
7 ------
8
9 | Field          | Description                  | Type               | Null | Key | Default | Extra |
10 | -------------- | ---------------------------- | ------------------ | ---- | --- | ------- | ----- |
11 | application-id |                              | int unsigned       | NO   | PRI | NULL    |       |
12 | uid            | Owner User id                | mediumint unsigned | NO   | PRI | NULL    |       |
13 | timeline       | Marker (home, notifications) | varchar(64)        | NO   | PRI | NULL    |       |
14 | last_read_id   | Marker id for the timeline   | varbinary(383)     | YES  |     | NULL    |       |
15 | version        | Version number               | smallint unsigned  | YES  |     | NULL    |       |
16 | updated_at     | creation time                | datetime           | YES  |     | NULL    |       |
17
18 Indexes
19 ------------
20
21 | Name    | Fields                        |
22 | ------- | ----------------------------- |
23 | PRIMARY | application-id, uid, timeline |
24 | uid_id  | uid                           |
25
26 Foreign Keys
27 ------------
28
29 | Field | Target Table | Target Field |
30 |-------|--------------|--------------|
31 | application-id | [application](help/database/db_application) | id |
32 | uid | [user](help/database/db_user) | uid |
33
34 Return to [database documentation](help/database)