- Table
ry_product- Note
- 39/39 annotated Open the Chinese page
- Layer
- Content table
- Engine / collation
InnoDB·utf8mb4_unicode_ci- Columns
- 39 · annotated 39 (100%) · estimated rows 10
- Indexes
- 9
- Content model
product· Products
12 differences Fix it in core/Schema.php only, then run php cli/schema-sync.php --apply.
- diffColumn series: registered in Schema but missing in the database
- diffColumn spindle_power: registered in Schema but missing in the database
- diffColumn travel: registered in Schema but missing in the database
- diffColumn accuracy: registered in Schema but missing in the database
- diffColumn control_system: registered in Schema but missing in the database
- diffColumn applicable_material: registered in Schema but missing in the database
- diffColumn process_capability: registered in Schema but missing in the database
- diffColumn dimension: registered in Schema but missing in the database
- diffColumn machine_weight: registered in Schema but missing in the database
- diffColumn options: registered in Schema but missing in the database
- diffColumn lead_time_days: registered in Schema but missing in the database
- diffColumn warranty: 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 |
model_no
model field
|
varchar(255)
utf8mb4_unicode_ci |
no | empty | — | — | Model No. (text) |
| 32 |
brand
model field
|
varchar(255)
utf8mb4_unicode_ci |
no | empty | — | — | Brand (text) |
| 33 |
price
model field
|
decimal(12,2)
|
no |
0.00
|
— | — | Price (price) |
| 34 |
market_price
model field
|
decimal(12,2)
|
no |
0.00
|
— | — | Market Price (price) |
| 35 |
unit
model field
|
varchar(255)
utf8mb4_unicode_ci |
no | empty | — | — | Unit (text) |
| 36 |
moq
model field
|
int(11)
|
no |
0
|
— | — | MOQ (number) |
| 37 |
stock
model field
|
int(11)
|
no |
0
|
— | — | Stock (number) |
| 38 |
specs
model field
|
text
utf8mb4_unicode_ci |
yes | NULL | — | — | Specifications (repeater) |
| 39 |
is_new
model field
|
tinyint(1)
|
no |
0
|
— | — | New Arrival (switch) |
| 40 |
series
|
|
? | — | — | — | annotated original |
| 41 |
spindle_power
|
|
? | — | — | — | annotated original |
| 42 |
travel
|
|
? | — | — | — | annotated original |
| 43 |
accuracy
|
|
? | — | — | — | annotated original |
| 44 |
control_system
|
|
? | — | — | — | annotated original |
| 45 |
applicable_material
|
|
? | — | — | — | annotated original |
| 46 |
process_capability
|
|
? | — | — | — | annotated original |
| 47 |
dimension
|
|
? | — | — | — | annotated original |
| 48 |
machine_weight
|
|
? | — | — | — | annotated original |
| 49 |
options
|
|
? | — | — | — | annotated original |
| 50 |
lead_time_days
|
|
? | — | — | — | annotated original |
| 51 |
warranty
|
|
? | — | — | — | 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 (69)
- templates/_shared/components/contact-split.php:105
- templates/_shared/components/detail-content-product-compare-table.php:21
- templates/_shared/components/detail-content-product-faq.php:64
- templates/_shared/components/detail-content-product-faq.php:71
- templates/_shared/components/detail-content-product-showcase.php:57
- templates/_shared/components/detail-content-product-specs.php:54
- templates/_shared/components/detail-content-product.php:290
- templates/_shared/components/detail-content-product.php:36
- templates/_shared/components/detail-content.php:255
- templates/_shared/components/detail-content.php:93
- templates/_shared/components/detail-related-feature.php:34
- templates/_shared/components/detail-related.php:29
- templates/_shared/components/footer-mini.php:88
- templates/_shared/components/footer-minimal.php:62
- templates/_shared/components/home-products-showcase.php:30
- templates/_shared/components/home-products-showcase.php:35
- templates/_shared/components/home-products-showcase.php:36
- templates/_shared/components/home-products-tabs.php:44
- templates/_shared/components/home-products-tabs.php:60
- templates/_shared/components/home-products-tabs.php:61
- templates/_shared/components/home-products.php:17
- templates/_shared/components/home-products.php:19
- templates/_shared/components/home-products.php:23
- templates/_shared/components/home-products.php:24
total 69 hits; the first 24 are shown.
Other kernel files (5)
- core/CopyRules.php:511
- core/PackInstall.php:1239
- core/Schema.php:2315
- core/Schema.php:2483
- core/Schema.php:84
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.