friendica/doc/database/db_channel.md

43 wiersze
3.4 KiB
Markdown
Czysty Zwykły widok Historia

2023-09-19 09:05:28 +00:00
Table channel
===========
User defined Channels
Fields
------
| Field | Description | Type | Null | Key | Default | Extra |
| ---------------- | ------------------------------------------------------------------------------------------------- | ------------------ | ---- | --- | ------- | -------------- |
| id | | int unsigned | NO | PRI | NULL | auto_increment |
| uid | User id | mediumint unsigned | NO | | NULL | |
| label | Channel label | varchar(64) | NO | | NULL | |
| description | Channel description | varchar(64) | YES | | NULL | |
| circle | Circle or channel that this channel is based on | int | YES | | NULL | |
2023-09-19 09:05:28 +00:00
| access-key | Access key | varchar(1) | YES | | NULL | |
| include-tags | Comma separated list of tags that will be included in the channel | varchar(1023) | YES | | NULL | |
| exclude-tags | Comma separated list of tags that aren't allowed in the channel | varchar(1023) | YES | | NULL | |
2024-01-30 10:05:05 +00:00
| min-size | Minimum post size | int unsigned | YES | | NULL | |
| max-size | Maximum post size | int unsigned | YES | | NULL | |
| full-text-search | Full text search pattern, see https://mariadb.com/kb/en/full-text-index-overview/#in-boolean-mode | varchar(1023) | YES | | NULL | |
2023-09-19 09:05:28 +00:00
| media-type | Filtered media types | smallint unsigned | YES | | NULL | |
2024-01-03 19:20:56 +00:00
| languages | Desired languages | mediumtext | YES | | NULL | |
2024-01-07 18:36:47 +00:00
| publish | publish channel content | boolean | YES | | NULL | |
2024-01-10 20:17:44 +00:00
| valid | Set, when the full-text-search is valid | boolean | YES | | NULL | |
2023-09-19 09:05:28 +00:00
Indexes
------------
| Name | Fields |
| ------- | ------ |
| PRIMARY | id |
| uid | uid |
Foreign Keys
------------
| Field | Target Table | Target Field |
|-------|--------------|--------------|
| uid | [user](help/database/db_user) | uid |
Return to [database documentation](help/database)