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

api_keys

# Name Type Collation Attributes Null Default Comments Extra Action
1 bigint(20) UNSIGNED No None AUTO_INCREMENT Change Change Drop Drop
2 varchar(100) utf8mb4_unicode_ci No None API Key (unique, 64+ chars) Change Change Drop Drop
3 varchar(20) utf8mb4_unicode_ci No key Prefix for key (e.g. live, test, ice) Change Change Drop Drop
4 varchar(255) utf8mb4_unicode_ci No None API Key name/description Change Change Drop Drop
5 decimal(10,2) No 0.00 Available credits (THB) - ATOMIC UPDATES ONLY Change Change Drop Drop
6 tinyint(1) No 1 Active status (0=disabled, 1=enabled) Change Change Drop Drop
7 datetime Yes NULL Expiry date (NULL = never expires) Change Change Drop Drop
8 datetime Yes NULL Last usage timestamp Change Change Drop Drop
9 varchar(45) utf8mb4_unicode_ci Yes NULL Last IP address (IPv4 or IPv6) Change Change Drop Drop
10 bigint(20) UNSIGNED No 0 Total API requests count Change Change Drop Drop
11 decimal(10,2) No 0.00 Total amount spent (THB) Change Change Drop Drop
12 datetime No current_timestamp() Change Change Drop Drop
13 datetime No current_timestamp() ON UPDATE CURRENT_TIMESTAMP() 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 3 A No
Edit Edit Rename Rename Drop Drop uq_api_keys_key BTREE Yes No api_key 3 A No
Edit Edit Rename Rename Drop Drop idx_api_keys_active BTREE No No is_active 3 A No
Edit Edit Rename Rename Drop Drop idx_api_keys_prefix BTREE No No prefix 3 A No
Edit Edit Rename Rename Drop Drop idx_api_keys_expires BTREE No No expires_at 3 A Yes
Create an index on columns
Partitions Documentation
Information
Space usage
Data 16.0 KiB
Index 64.0 KiB
Overhead 0 B
Effective 80.0 KiB
Total 80.0 KiB
Optimize table Optimize table
Row statistics
Format dynamic
Collation utf8mb4_unicode_ci
Next autoindex 7
Creation Apr 20, 2026 at 12:37 AM
Last update May 14, 2026 at 02:49 PM
Last check May 14, 2026 at 02:49 PM