friendica/doc/database/db_post-category.md

35 lines
1.2 KiB
Markdown
Raw Normal View History

Table post-category
===========
2021-06-14 08:10:11 +02:00
post relation to categories
2021-06-14 10:53:37 +02:00
Fields
------
2021-06-14 08:10:11 +02:00
| Field | Description | Type | Null | Key | Default | Extra |
| ------ | --------------------------------------------------------- | ------------------ | ---- | --- | ------- | ----- |
| uri-id | Id of the item-uri table entry that contains the item uri | int unsigned | NO | PRI | NULL | |
| uid | User id | mediumint unsigned | NO | PRI | 0 | |
| type | | tinyint unsigned | NO | PRI | 0 | |
| tid | | int unsigned | NO | PRI | 0 | |
2021-06-14 10:53:37 +02:00
Indexes
------------
| Name | Fields |
2021-06-14 10:54:57 +02:00
|------|--------|
2021-06-14 10:53:37 +02:00
| PRIMARY | uri-id, uid, type, tid |
| uri-id | tid |
| uid | uid |
Foreign Keys
------------
| Field | Target Table | Target Field |
|-------|--------------|--------------|
| uri-id | [item-uri](help/database/db_item-uri) | id |
| uid | [user](help/database/db_user) | uid |
| tid | [tag](help/database/db_tag) | id |
Return to [database documentation](help/database)