2024-01-17 21:10:33 +00:00
|
|
|
Table post-searchindex
|
|
|
|
===========
|
|
|
|
|
|
|
|
Content for all posts
|
|
|
|
|
|
|
|
Fields
|
|
|
|
------
|
|
|
|
|
2024-02-01 23:08:53 +00: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 | |
|
|
|
|
| owner-id | Item owner | int unsigned | NO | | 0 | |
|
2024-03-17 10:19:22 +00:00
|
|
|
| media-type | Type of media in a bit array (1 = image, 2 = video, 4 = audio) | tinyint | NO | | 0 | |
|
2024-02-02 07:05:39 +00:00
|
|
|
| language | Language information about this post in the ISO 639-1 format | char(2) | YES | | NULL | |
|
2024-02-01 23:08:53 +00:00
|
|
|
| searchtext | Simplified text for the full text search | mediumtext | YES | | NULL | |
|
|
|
|
| size | Body size | int unsigned | YES | | NULL | |
|
|
|
|
| created | | datetime | YES | | NULL | |
|
|
|
|
| restricted | If true, this post is either unlisted or not from a federated network | boolean | NO | | 0 | |
|
2024-01-17 21:10:33 +00:00
|
|
|
|
|
|
|
Indexes
|
|
|
|
------------
|
|
|
|
|
|
|
|
| Name | Fields |
|
|
|
|
| ---------- | -------------------- |
|
|
|
|
| PRIMARY | uri-id |
|
2024-02-01 23:08:53 +00:00
|
|
|
| owner-id | owner-id |
|
2024-01-21 16:39:28 +00:00
|
|
|
| created | created |
|
2024-01-17 21:10:33 +00:00
|
|
|
| searchtext | FULLTEXT, searchtext |
|
|
|
|
|
|
|
|
Foreign Keys
|
|
|
|
------------
|
|
|
|
|
|
|
|
| Field | Target Table | Target Field |
|
|
|
|
|-------|--------------|--------------|
|
|
|
|
| uri-id | [item-uri](help/database/db_item-uri) | id |
|
2024-02-01 23:08:53 +00:00
|
|
|
| owner-id | [contact](help/database/db_contact) | id |
|
2024-01-17 21:10:33 +00:00
|
|
|
|
|
|
|
Return to [database documentation](help/database)
|