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

core_user_roles

# Name Type Collation Attributes Null Default Comments Extra Action
1 int(11) No None AUTO_INCREMENT Change Change Drop Drop
2 int(11) No None Change Change Drop Drop
3 varchar(50) utf8mb4_general_ci No None Change Change Drop Drop
4 enum('active', 'inactive') utf8mb4_general_ci No active Change Change Drop Drop
5 varchar(20) utf8mb4_general_ci Yes NULL Change Change Drop Drop
6 timestamp No current_timestamp() Change Change Drop Drop
7 varchar(20) utf8mb4_general_ci Yes NULL Change Change Drop Drop
8 datetime Yes NULL Change Change Drop Drop
9 int(11) Yes NULL Change Change Drop Drop
10 int(11) Yes NULL STORED GENERATED Change Change Drop Drop
11 varchar(50) utf8mb4_general_ci Yes NULL STORED GENERATED Change Change Drop Drop
12 int(11) Yes NULL STORED GENERATED 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 15 A No
Edit Edit Rename Rename Drop Drop uk_user_role_unit BTREE Yes No user_id 15 A No
role_code 15 A No
unit_id 15 A Yes
Edit Edit Rename Rename Drop Drop uk_core_user_roles_active_scope BTREE Yes No active_user_id 15 A Yes
active_role_code 15 A Yes
active_unit_scope_key 15 A Yes
Edit Edit Rename Rename Drop Drop idx_user_roles_role_status BTREE No No role_code 5 A No
status 7 A No
Edit Edit Rename Rename Drop Drop idx_user_roles_user_status BTREE No No user_id 15 A No
status 15 A No
Edit Edit Rename Rename Drop Drop idx_user_roles_unit BTREE No No unit_id 2 A Yes
Edit Edit Rename Rename Drop Drop idx_user_roles_user_role_unit_status BTREE No No user_id 15 A No
role_code 15 A No
unit_id 15 A Yes
status 15 A No
Edit Edit Rename Rename Drop Drop idx_core_user_roles_user_id BTREE No No user_id 15 A No
Edit Edit Rename Rename Drop Drop idx_core_user_roles_status BTREE No No status 5 A No
Edit Edit Rename Rename Drop Drop idx_core_user_roles_active_lookup_v2 BTREE No No active_user_id 15 A Yes
active_role_code 15 A Yes
active_unit_scope_key 15 A Yes
status 15 A No
Create an index on columns
Partitions Documentation
Information
Space usage
Data 16.0 KiB
Index 144.0 KiB
Overhead 0 B
Effective 160.0 KiB
Total 160.0 KiB
Optimise table Optimise table
Row statistics
Format dynamic
Collation utf8mb4_general_ci
Next autoindex 77,832
Creation Jul 10, 2026 at 11:25 AM
Last update Jul 21, 2026 at 02:58 PM
Last check Jul 21, 2026 at 02:58 PM