- Table
ry_faq- Note
- 30/30 annotated Open the Chinese page
- Layer
- Content table
- Engine / collation
InnoDB·utf8mb4_unicode_ci- Columns
- 30 · annotated 30 (100%) · estimated rows 0
- Indexes
- 9
- Content model
faq· FAQ
1 differences Fix it in core/Schema.php only, then run php cli/schema-sync.php --apply.
- diffColumn group: registered in Schema but missing in the database
Columns
| # | Column | Type | Null | Default | Key | Extra | Note |
|---|---|---|---|---|---|---|---|
| 1 |
id
|
int(11)
|
no | NULL | PRI |
auto_increment |
annotated original |
| 2 |
group_key
|
varchar(32)
utf8mb4_unicode_ci |
no | empty | MUL |
— | annotated original |
| 3 |
lang
|
varchar(10)
utf8mb4_unicode_ci |
no |
zh
|
MUL |
— | annotated original |
| 4 |
category_id
|
int(11)
|
no |
0
|
MUL |
— | annotated original |
| 5 |
title
|
varchar(255)
utf8mb4_unicode_ci |
no | empty | — | — | annotated original |
| 6 |
slug
|
varchar(255)
utf8mb4_unicode_ci |
yes | NULL | MUL |
— | annotated original |
| 7 |
thumb
|
varchar(255)
utf8mb4_unicode_ci |
no | empty | — | — | annotated original |
| 8 |
images
|
text
utf8mb4_unicode_ci |
yes | NULL | — | — | annotated original |
| 9 |
summary
|
text
utf8mb4_unicode_ci |
yes | NULL | — | — | annotated original |
| 10 |
content
|
longtext
utf8mb4_unicode_ci |
yes | NULL | — | — | annotated original |
| 11 |
tags
|
varchar(255)
utf8mb4_unicode_ci |
no | empty | — | — | annotated original |
| 12 |
author
|
varchar(100)
utf8mb4_unicode_ci |
no | empty | — | — | annotated original |
| 13 |
source
|
varchar(150)
utf8mb4_unicode_ci |
no | empty | — | — | annotated original |
| 14 |
views
|
int(11)
|
no |
0
|
— | — | annotated original |
| 15 |
sort_order
|
int(11)
|
no |
0
|
— | — | annotated original |
| 16 |
is_top
|
tinyint(1)
|
no |
0
|
— | — | annotated original |
| 17 |
is_recommend
|
tinyint(1)
|
no |
0
|
— | — | annotated original |
| 18 |
is_hot
|
tinyint(1)
|
no |
0
|
— | — | annotated original |
| 19 |
order_key
|
bigint(20) unsigned
|
yes | NULL | — | — | annotated original |
| 20 |
status
|
tinyint(1)
|
no |
1
|
— | — | annotated original |
| 21 |
del_by
|
int(11)
|
yes | NULL | — | — | annotated original |
| 22 |
del_time
|
datetime
|
yes | NULL | — | — | annotated original |
| 23 |
is_del
|
tinyint(1)
|
no |
0
|
— | — | annotated original |
| 24 |
publish_time
|
datetime
|
yes | NULL | — | — | annotated original |
| 25 |
seo_title
|
varchar(255)
utf8mb4_unicode_ci |
no | empty | — | — | annotated original |
| 26 |
seo_keywords
|
varchar(255)
utf8mb4_unicode_ci |
no | empty | — | — | annotated original |
| 27 |
seo_description
|
varchar(500)
utf8mb4_unicode_ci |
no | empty | — | — | annotated original |
| 28 |
template
|
varchar(100)
utf8mb4_unicode_ci |
no | empty | — | — | annotated original |
| 29 |
create_time
|
datetime
|
yes | NULL | — | — | annotated original |
| 30 |
update_time
|
datetime
|
yes | NULL | — | — | annotated original |
| 31 |
group
|
|
? | — | — | — | annotated original |
Indexes
| Name | Unique | Columns | Declared in Schema |
|---|---|---|---|
idx_cat |
no |
category_id
lang
status
|
✓ |
idx_cursor |
no |
lang
is_del
status
order_key
id
|
✓ |
idx_cursor_cat |
no |
lang
is_del
status
category_id
order_key
id
|
✓ |
idx_group |
no |
group_key
lang
|
✓ |
idx_isdel |
no |
lang
is_del
status
id
|
✓ |
idx_lang_time |
no |
lang
status
publish_time
|
✓ |
idx_views |
no |
lang
status
views
|
✓ |
PRIMARY |
yes |
id
|
✓ |
uk_slug_lang |
yes |
slug
lang
|
✓ |
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. Content tables are read through Content::query(model code), so tags never name the table; the kernel classes that do are listed under "Other kernel files" below.
Components and templates (41)
- templates/_shared/components/detail-content-faq-side.php:182
- templates/_shared/components/detail-content-faq-side.php:20
- templates/_shared/components/detail-content-faq-steps.php:375
- templates/_shared/components/detail-content-faq-steps.php:45
- templates/_shared/components/detail-content-faq-steps.php:67
- templates/_shared/components/detail-content-faq.php:132
- templates/_shared/components/detail-content-faq.php:365
- templates/_shared/components/detail-content-product-faq.php:20
- templates/_shared/components/detail-content-product-faq.php:228
- templates/_shared/components/detail-content-product-faq.php:235
- templates/_shared/components/detail-content-product-faq.php:83
- templates/_shared/components/detail-content-product-faq.php:88
- templates/_shared/components/detail-related.php:41
- templates/_shared/components/home-faq-highlight.php:18
- templates/_shared/components/home-faq-highlight.php:204
- templates/_shared/components/home-faq-highlight.php:27
- templates/_shared/components/home-faq-highlight.php:28
- templates/_shared/components/home-faq-split.php:38
- templates/_shared/components/home-faq-split.php:57
- templates/_shared/components/home-faq-split.php:58
- templates/_shared/components/home-faq.php:14
- templates/_shared/components/home-faq.php:22
- templates/_shared/components/home-faq.php:23
- templates/_shared/components/list-content.php:30
total 41 hits; the first 24 are shown.
Other kernel files (2)
- core/CopyRules.php:489
- core/CopyRules.php:513
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.