- Table
ry_gallery- Note
- 32/32 annotated Open the Chinese page
- Layer
- Content table
- Engine / collation
InnoDB·utf8mb4_unicode_ci- Columns
- 32 · annotated 32 (100%) · estimated rows 10
- Indexes
- 9
- Content model
gallery· Gallery
✓ 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 |
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 |
shoot_date
model field
|
date
|
yes | NULL | — | — | Date (date) |
| 32 |
location
model field
|
varchar(255)
utf8mb4_unicode_ci |
no | empty | — | — | Location (text) |
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 (34)
- templates/_shared/components/detail-content-common.php:344
- templates/_shared/components/detail-content-doc.php:591
- templates/_shared/components/detail-content-gallery-masonry.php:354
- templates/_shared/components/detail-content-gallery-masonry.php:38
- templates/_shared/components/detail-content-gallery-masonry.php:409
- templates/_shared/components/detail-content-gallery-masonry.php:414
- templates/_shared/components/detail-content-gallery-portfolio.php:22
- templates/_shared/components/detail-content-gallery-portfolio.php:256
- templates/_shared/components/detail-content-gallery.php:453
- templates/_shared/components/detail-content-news-media.php:530
- templates/_shared/components/detail-content-news.php:510
- templates/_shared/components/detail-content.php:201
- templates/_shared/components/detail-related.php:33
- templates/_shared/components/list-content.php:32
- templates/_shared/components/list-content.php:40
- templates/_shared/components/list-gallery-album.php:32
- templates/_shared/components/list-gallery-album.php:354
- templates/_shared/components/list-gallery-album.php:357
- templates/_shared/components/list-gallery-wall.php:323
- templates/_shared/components/list-gallery-wall.php:33
- templates/_shared/components/list-gallery-wall.php:331
- templates/_shared/components/list-gallery.php:330
- templates/_shared/components/list-gallery.php:332
- templates/_shared/components/page-content-toc.php:344
total 34 hits; the first 24 are shown.
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.