- Table
ry_content_tag- Note
- 6/6 annotated Open the Chinese page
- Layer
- System table
- Engine / collation
InnoDB·utf8mb4_unicode_ci- Columns
- 6 · annotated 6 (100%) · estimated rows 0
- Indexes
- 3
✓ Schema matches the database The column set and every column note match.
Columns
| # | Column | Type | Null | Default | Key | Extra | Note |
|---|---|---|---|---|---|---|---|
| 1 |
id
|
int(11)
|
no | NULL | PRI |
auto_increment |
annotated original |
| 2 |
tag_id
|
int(11)
|
no |
0
|
MUL |
— | annotated original |
| 3 |
model_code
|
varchar(50)
utf8mb4_unicode_ci |
no | empty | MUL |
— | annotated original |
| 4 |
content_id
|
int(11)
|
no |
0
|
— | — | annotated original |
| 5 |
lang
|
varchar(10)
utf8mb4_unicode_ci |
no |
zh
|
— | — | annotated original |
| 6 |
create_time
|
datetime
|
yes | NULL | — | — | annotated original |
Indexes
| Name | Unique | Columns | Declared in Schema |
|---|---|---|---|
idx_content |
no |
model_code
content_id
|
✓ |
PRIMARY |
yes |
id
|
✓ |
uk_rel |
yes |
tag_id
model_code
content_id
|
✓ |
Reverse links: who uses this table
These are real code hits with file and line numbers, not documentation claims. A hit counts as a template tag only when the enclosing function is registered in the tag reference (TplTags).
Template tags (0)
No template tag references this table directly.
Components and templates (0)
No component or template references this table directly.
Other kernel files (12)
- core/Content.php:1192
- core/Revision.php:515
- core/Tag.php:202
- core/Tag.php:274
- core/Tag.php:305
- core/Tag.php:317
- core/Tag.php:354
- core/Tag.php:374
- core/Tag.php:47
- core/Tag.php:519
- core/Tag.php:530
- core/Tag.php:83
About the index data
The reverse-link index is cached under a fingerprint of the file list, sizes and modification times, so any change to a template or kernel file invalidates it and the next request rescans automatically.