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

comment

# Name Type Collation Attributes Null Default Comments Extra Action
1 bigint(20) UNSIGNED No None 评论id AUTO_INCREMENT Change Change Drop Drop
2 bigint(20) UNSIGNED No None 该评论上级ID Change Change Drop Drop
3 bigint(20) UNSIGNED No None 评论用户id Change Change Drop Drop
4 int(10) UNSIGNED No None 评论对象类型1分享2文件3文章4...... Change Change Drop Drop
5 bigint(20) UNSIGNED No None 评论对象id Change Change Drop Drop
6 mediumtext utf8_general_ci No None 评论内容 Change Change Drop Drop
7 int(11) UNSIGNED No None 点赞统计 Change Change Drop Drop
8 int(11) UNSIGNED No None 评论统计 Change Change Drop Drop
9 tinyint(3) UNSIGNED No None 状态 1正常 2异常 3其他 Change Change Drop Drop
10 int(11) UNSIGNED No None 最后修改时间 Change Change Drop Drop
11 int(11) UNSIGNED No None 创建时间 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 commentID 0 A No
Edit Edit Rename Rename Drop Drop pid BTREE No No pid 0 A No
Edit Edit Rename Rename Drop Drop userID BTREE No No userID 0 A No
Edit Edit Rename Rename Drop Drop targetType BTREE No No targetType 0 A No
Edit Edit Rename Rename Drop Drop targetID BTREE No No targetID 0 A No
Edit Edit Rename Rename Drop Drop praiseCount BTREE No No praiseCount 0 A No
Edit Edit Rename Rename Drop Drop commentCount BTREE No No commentCount 0 A No
Edit Edit Rename Rename Drop Drop modifyTime BTREE No No modifyTime 0 A No
Edit Edit Rename Rename Drop Drop createTime BTREE No No createTime 0 A No
Create an index on columns
Partitions Documentation
Information

Table comments: 通用评论表

Space usage
Data 16.0 KiB
Index 128.0 KiB
Overhead 0 B
Effective 144.0 KiB
Total 144.0 KiB
Optimise table Optimise table
Row statistics
Format dynamic
Collation utf8_general_ci
Next autoindex 1
Creation May 18, 2026 at 02:51 PM
Last update Nov 11, 2026 at 06:40 AM
Last check Nov 11, 2026 at 06:40 AM