Drop files here

SQL upload ( 0 ) x -

Page-related settings Click on the bar to scroll to top of page
Press Ctrl+Enter to execute query Press Enter to execute query
ascending
descending
Order:
Debug SQL
Count
Execution order
Time taken
Order by:
Group queries
Ungroup queries
Collapse Expand Show trace Hide trace Count : Time taken :
Bookmarks
Refresh
Add
No bookmarks
Add bookmark
Options
Set default





Collapse Expand Requery Edit Explain Profiling Bookmark Query failed Database : Queried time :
Table structure
Settings for the table structure (list of columns).
Table structure
Documentation Whether the table structure actions should be hidden. Restore default value
Documentation Whether column comments should be shown in table structure view Restore default value
Default transformations
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value

foreman_material_breakdown

# Name Type Collation Attributes Null Default Comments Extra Action
1 int(11) No None AUTO_INCREMENT Change Change Drop Drop
2 varchar(50) utf8mb4_unicode_ci No None รหัสผู้สร้าง (user_id) Change Change Drop Drop
3 varchar(255) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
4 varchar(255) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
5 varchar(100) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
6 varchar(255) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
7 varchar(255) utf8mb4_unicode_ci Yes NULL ?????????????????????????????????????????? Change Change Drop Drop
8 varchar(255) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
9 date Yes NULL Change Change Drop Drop
10 date Yes NULL Change Change Drop Drop
11 enum('draft', 'pending', 'approved', 'rejected', '... utf8mb4_unicode_ci Yes pending draft=ร่าง, pending=รออนุมัติ, approved=อนุมัติ, rejected=ปฏิเสธ, completed=เสร็จสิ้น, cancelled=ยกเลิก Change Change Drop Drop
12 text utf8mb4_unicode_ci Yes NULL หมายเหตุจากผู้สร้าง Change Change Drop Drop
13 timestamp No current_timestamp() Change Change Drop Drop
14 timestamp No current_timestamp() ON UPDATE CURRENT_TIMESTAMP() Change Change Drop Drop
15 timestamp Yes NULL วันเวลาส่งเรื่อง Change Change Drop Drop
16 timestamp Yes NULL วันเวลาอนุมัติ Change Change Drop Drop
17 varchar(50) utf8mb4_unicode_ci Yes NULL ผู้อนุมัติ (user_id) Change Change Drop Drop
18 varchar(255) utf8mb4_unicode_ci Yes NULL ชื่อผู้อนุมัติ Change Change Drop Drop
19 timestamp Yes NULL วันเวลาปฏิเสธ Change Change Drop Drop
20 varchar(50) utf8mb4_unicode_ci Yes NULL ผู้ปฏิเสธ (user_id) Change Change Drop Drop
21 varchar(255) utf8mb4_unicode_ci Yes NULL ชื่อผู้ปฏิเสธ Change Change Drop Drop
22 text utf8mb4_unicode_ci Yes NULL เหตุผลที่ปฏิเสธ Change Change Drop Drop
23 varchar(50) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
24 varchar(255) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
25 datetime Yes NULL Change Change Drop Drop
With selected: With selected:

Add column  Add column(s)  
Indexes Documentation
Action Keyname Type Unique Packed Column Cardinality Collation Null Comment
Edit Edit Rename Rename Drop Drop PRIMARY BTREE Yes No id 666 A No
Edit Edit Rename Rename Drop Drop idx_foreman_id BTREE No No foreman_id 41 A No
Edit Edit Rename Rename Drop Drop idx_status BTREE No No status 12 A Yes
Edit Edit Rename Rename Drop Drop idx_created_at BTREE No No created_at 666 A No
Edit Edit Rename Rename Drop Drop idx_approved_by BTREE No No approved_by 18 A Yes
Edit Edit Rename Rename Drop Drop idx_rejected_by BTREE No No rejected_by 10 A Yes
Create an index on columns
Partitions Documentation
Information

Table comments: ตารางเก็บข้อมูลการถอดวัสดุของโฟร์แมน

Space usage
Data 336.0 KiB
Index 80.0 KiB
Overhead 0 B
Effective 416.0 KiB
Total 416.0 KiB
Optimize table Optimize table
Row statistics
Format dynamic
Collation utf8mb4_unicode_ci
Next autoindex 730
Creation Mar 06, 2026 at 04:28 PM
Last update Jun 01, 2026 at 06:07 PM
Last check Jun 01, 2026 at 09:17 PM