]> git.mxchange.org Git - friendica.git/blob - doc/database/db_channel.md
9b9486fa328c295222d2387c021d8306e3387425
[friendica.git] / doc / database / db_channel.md
1 Table channel
2 ===========
3
4 User defined Channels
5
6 Fields
7 ------
8
9 | Field            | Description                                                                                       | Type               | Null | Key | Default | Extra          |
10 | ---------------- | ------------------------------------------------------------------------------------------------- | ------------------ | ---- | --- | ------- | -------------- |
11 | id               |                                                                                                   | int unsigned       | NO   | PRI | NULL    | auto_increment |
12 | uid              | User id                                                                                           | mediumint unsigned | NO   |     | NULL    |                |
13 | label            | Channel label                                                                                     | varchar(64)        | NO   |     | NULL    |                |
14 | description      | Channel description                                                                               | varchar(64)        | YES  |     | NULL    |                |
15 | circle           | Circle or channel that this channel is based on                                                   | int                | YES  |     | NULL    |                |
16 | access-key       | Access key                                                                                        | varchar(1)         | YES  |     | NULL    |                |
17 | include-tags     | Comma separated list of tags that will be included in the channel                                 | varchar(1023)      | YES  |     | NULL    |                |
18 | exclude-tags     | Comma separated list of tags that aren't allowed in the channel                                   | varchar(1023)      | YES  |     | NULL    |                |
19 | full-text-search | Full text search pattern, see https://mariadb.com/kb/en/full-text-index-overview/#in-boolean-mode | varchar(1023)      | YES  |     | NULL    |                |
20 | media-type       | Filtered media types                                                                              | smallint unsigned  | YES  |     | NULL    |                |
21
22 Indexes
23 ------------
24
25 | Name    | Fields |
26 | ------- | ------ |
27 | PRIMARY | id     |
28 | uid     | uid    |
29
30 Foreign Keys
31 ------------
32
33 | Field | Target Table | Target Field |
34 |-------|--------------|--------------|
35 | uid | [user](help/database/db_user) | uid |
36
37 Return to [database documentation](help/database)