]> git.mxchange.org Git - friendica.git/blob - doc/database/db_post-link.md
Merge remote-tracking branch 'origin/2022.12-rc' into fixes
[friendica.git] / doc / database / db_post-link.md
1 Table post-link
2 ===========
3
4 Post related external links
5
6 Fields
7 ------
8
9 | Field    | Description                                               | Type           | Null | Key | Default | Extra          |
10 | -------- | --------------------------------------------------------- | -------------- | ---- | --- | ------- | -------------- |
11 | id       | sequential ID                                             | int unsigned   | NO   | PRI | NULL    | auto_increment |
12 | uri-id   | Id of the item-uri table entry that contains the item uri | int unsigned   | NO   |     | NULL    |                |
13 | url      | External URL                                              | varbinary(511) | NO   |     | NULL    |                |
14 | mimetype |                                                           | varchar(60)    | YES  |     | NULL    |                |
15
16 Indexes
17 ------------
18
19 | Name       | Fields              |
20 | ---------- | ------------------- |
21 | PRIMARY    | id                  |
22 | uri-id-url | UNIQUE, uri-id, url |
23
24 Foreign Keys
25 ------------
26
27 | Field | Target Table | Target Field |
28 |-------|--------------|--------------|
29 | uri-id | [item-uri](help/database/db_item-uri) | id |
30
31 Return to [database documentation](help/database)