- Table
ry_model_field- Note
- 21/21 annotated Open the Chinese page
- Layer
- System table
- Engine / collation
InnoDB·utf8mb4_unicode_ci- Columns
- 21 · annotated 21 (100%) · estimated rows 40
- 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 |
model_id
|
int(11)
|
no |
0
|
MUL |
— | annotated original |
| 3 |
field_name
|
varchar(50)
utf8mb4_unicode_ci |
no | NULL | — | — | annotated original |
| 4 |
field_label
|
varchar(100)
utf8mb4_unicode_ci |
no | NULL | — | — | annotated original |
| 5 |
field_label_en
|
varchar(100)
utf8mb4_unicode_ci |
no | empty | — | — | annotated original |
| 6 |
field_type
|
varchar(20)
utf8mb4_unicode_ci |
no |
text
|
— | — | annotated original |
| 7 |
field_options
|
text
utf8mb4_unicode_ci |
yes | NULL | — | — | annotated original |
| 8 |
default_value
|
varchar(255)
utf8mb4_unicode_ci |
no | empty | — | — | annotated original |
| 9 |
placeholder
|
varchar(255)
utf8mb4_unicode_ci |
no | empty | — | — | annotated original |
| 10 |
help_text
|
varchar(255)
utf8mb4_unicode_ci |
no | empty | — | — | annotated original |
| 11 |
unit
|
varchar(20)
utf8mb4_unicode_ci |
no | empty | — | — | annotated original |
| 12 |
is_required
|
tinyint(1)
|
no |
0
|
— | — | annotated original |
| 13 |
is_list
|
tinyint(1)
|
no |
0
|
— | — | annotated original |
| 14 |
is_search
|
tinyint(1)
|
no |
0
|
— | — | annotated original |
| 15 |
show_in_detail
|
tinyint(1)
|
no |
1
|
— | — | annotated original |
| 16 |
sort_order
|
int(11)
|
no |
0
|
— | — | annotated original |
| 17 |
create_time
|
datetime
|
yes | NULL | — | — | annotated original |
| 18 |
role_view
|
varchar(100)
utf8mb4_unicode_ci |
no | empty | — | — | annotated original |
| 19 |
role_edit
|
varchar(100)
utf8mb4_unicode_ci |
no | empty | — | — | annotated original |
| 20 |
show_if
|
varchar(100)
utf8mb4_unicode_ci |
no | empty | — | — | annotated original |
| 21 |
group_name
|
varchar(50)
utf8mb4_unicode_ci |
no | empty | — | — | annotated original |
Indexes
| Name | Unique | Columns | Declared in Schema |
|---|---|---|---|
idx_model |
no |
model_id
|
✓ |
PRIMARY |
yes |
id
|
✓ |
uk_model_field |
yes |
model_id
field_name
|
✓ |
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 (4)
| Function | Is a tag | Hit | Location |
|---|---|---|---|
|
— | ry_model_field |
core/Tpl.php:1051 |
|
— | ry_model_field |
core/Tpl.php:591 |
|
— | ry_model_field |
core/Tpl.php:606 |
|
— | ry_model_field |
core/Tpl.php:736 |
Components and templates (17)
- templates/_shared/components/detail-content-advantage-detail.php:14
- templates/_shared/components/detail-content-advantage-stats.php:13
- templates/_shared/components/detail-content-case-compare.php:34
- templates/_shared/components/detail-content-case-gallery.php:29
- templates/_shared/components/detail-content-product-faq.php:44
- templates/_shared/components/detail-content-product-showcase.php:39
- templates/_shared/components/detail-content-product-specs.php:31
- templates/_shared/components/list-advantages-icons.php:15
- templates/_shared/components/list-advantages-stats.php:13
- templates/_shared/components/list-cases-metrics.php:42
- templates/_shared/components/list-cases-timeline.php:33
- templates/_shared/components/list-cases-wall.php:31
- templates/_shared/components/list-cases.php:24
- templates/_shared/components/list-products-compare.php:35
- templates/_shared/components/list-products-table.php:32
- templates/_shared/components/list-products.php:26
- templates/_shared/dev_manual_schema.php:20
Other kernel files (53)
- core/ContentModel.php:368
- core/ContentModel.php:448
- core/ContentModel.php:584
- core/ContentModel.php:629
- core/ContentModel.php:635
- core/ContentModel.php:7
- core/DevManual.php:1460
- core/DevManual.php:1476
- core/DevManual.php:48
- core/FieldSync.php:1031
- core/FieldSync.php:154
- core/FieldSync.php:1584
- core/FieldSync.php:1662
- core/FieldSync.php:1681
- core/FieldSync.php:1693
- core/FieldSync.php:1744
- core/FieldSync.php:1749
- core/FieldSync.php:1907
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.