38 lines
2.5 KiB
Markdown
38 lines
2.5 KiB
Markdown
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 | |
|
|
| access-key | Access key | varchar(1) | YES | | NULL | |
|
|
| include-tags | Comma separated list of tags that will be included in the channel | varchar(255) | YES | | NULL | |
|
|
| exclude-tags | Comma separated list of tags that aren't allowed in the channel | varchar(255) | YES | | NULL | |
|
|
| full-text-search | Full text search pattern, see https://mariadb.com/kb/en/full-text-index-overview/#in-boolean-mode | varchar(255) | YES | | NULL | |
|
|
| media-type | Filtered media types | smallint unsigned | YES | | NULL | |
|
|
|
|
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)
|