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

incident

# Name Type Collation Attributes Null Default Comments Extra Action
1 bigint(20) UNSIGNED No None AUTO_INCREMENT Change Change Drop Drop
2 smallint(5) UNSIGNED No None Change Change Drop Drop
3 bigint(20) UNSIGNED Yes NULL Change Change Drop Drop
4 varchar(64) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
5 enum('theft', 'physical_injury', 'disturbance', 'd... utf8mb4_unicode_ci No None Change Change Drop Drop
6 enum('normal', 'high', 'critical') utf8mb4_unicode_ci No normal Change Change Drop Drop
7 text utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
8 text utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
9 bigint(20) UNSIGNED Yes NULL Change Change Drop Drop
10 datetime Yes NULL Change Change Drop Drop
11 enum('pending', 'dispatched', 'resolved', 'duplica... utf8mb4_unicode_ci No pending Change Change Drop Drop
12 bigint(20) UNSIGNED Yes NULL Change Change Drop Drop
13 bigint(20) UNSIGNED Yes NULL Change Change Drop Drop
14 datetime Yes NULL Change Change Drop Drop
15 enum('app', 'sms', 'web') utf8mb4_unicode_ci No None Change Change Drop Drop
16 decimal(10,7) Yes NULL Change Change Drop Drop
17 decimal(10,7) Yes NULL Change Change Drop Drop
18 datetime No None Change Change Drop Drop
19 datetime Yes NULL Change Change Drop Drop
20 char(36) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
21 datetime Yes NULL Change Change Drop Drop
22 datetime No None Change Change Drop Drop
23 tinyint(1) No 0 Change Change Drop Drop
24 datetime Yes NULL Change Change Drop Drop
25 varchar(255) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
26 varchar(255) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
27 varchar(32) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
28 varchar(255) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
29 varchar(20) utf8mb4_unicode_ci 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 incident_id 0 A No
Edit Edit Rename Rename Drop Drop uq_incident_device_event BTREE Yes No device_id 0 A Yes
client_event_id 0 A Yes
Edit Edit Rename Rename Drop Drop uq_incident_display_id BTREE Yes No display_id 0 A Yes
Edit Edit Rename Rename Drop Drop idx_incident_barangay_status_created BTREE No No barangay_id 0 A No
status 0 A No
created_at 0 A No
Edit Edit Rename Rename Drop Drop idx_incident_reported_by_created BTREE No No reported_by 0 A Yes
created_at 0 A No
Edit Edit Rename Rename Drop Drop idx_incident_type_created BTREE No No incident_type 0 A No
created_at 0 A No
Edit Edit Rename Rename Drop Drop fk_incident_redaction_approved_by BTREE No No redaction_approved_by 0 A Yes
Edit Edit Rename Rename Drop Drop idx_incident_raw_retention BTREE No No raw_narrative_purged_at 0 A Yes
redaction_approved_at 0 A Yes
created_at 0 A No
Edit Edit Rename Rename Drop Drop fk_incident_lifecycle_changed_by BTREE No No lifecycle_changed_by 0 A Yes
Edit Edit Rename Rename Drop Drop idx_incident_duplicate_of BTREE No No duplicate_of_incident_id 0 A Yes
Create an index on columns
Partitions Documentation
Information
Space usage
Data 16.0 KiB
Index 160.0 KiB
Overhead 0 B
Effective 176.0 KiB
Total 176.0 KiB
Optimize table Optimize table
Row statistics
Format dynamic
Collation utf8mb4_unicode_ci
Next autoindex 1
Creation Sep 26, 2026 at 06:09 AM
Last update Sep 26, 2026 at 07:59 AM
Last check Sep 26, 2026 at 07:59 AM