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 :
Untitled *
v Show/Hide tables list View in fullscreen Add tables from other databases New page Open page Save page Save page as Delete pages Create table Create relationship Choose column to display Reload Help Angular links / Direct links Snap to grid v Small/Big All Toggle small/big Toggle relationship lines Export schema > Move Menu > Pin text
Number of tables: 0
v pg_dashboard_restore_test dashboard_json_configs
* config_key : varchar(80)
* payload : mediumtext
* updated_at : datetime
v pg_dashboard_restore_test dashboard_login_logs
* id : bigint(20) unsigned
* username : varchar(191)
* success : tinyint(1)
* note : varchar(255)
* ip : varchar(64)
* created_at : datetime
v pg_dashboard_restore_test error_pending_daily_snapshot
* id : bigint(20) unsigned
* snapshot_date : date
* currency : varchar(10)
* brand : varchar(100)
* pg_status : varchar(255)
* total_rows : int(11)
* captured_at : datetime
v pg_dashboard_restore_test merchant_pg_lookup_map
* id : bigint(20) unsigned
* lookup_key : varchar(191)
* pg_name : varchar(100)
* created_at : datetime
* created_by : varchar(64)
v pg_dashboard_restore_test merchant_pg_report_imports
* id : bigint(20) unsigned
* report_kind : varchar(20)
* currency : varchar(8)
* record_date : date
* txn_key : varchar(191)
* merchant : varchar(100)
* pg_name : varchar(100)
* wallet : varchar(50)
* amount : decimal(18,2)
* vip_level : varchar(50)
* approval_status : varchar(100)
* created_time : datetime
* completed_time : datetime
* source_file : varchar(255)
* imported_at : datetime
* imported_by : varchar(64)
v pg_dashboard_restore_test merchant_ply_imports
* id : bigint(20) unsigned
* currency : varchar(8)
* record_date : date
* merchant : varchar(64)
* bo_count : int(11)
* ply_count : int(11)
* imported_at : datetime
* imported_by : varchar(64)
v pg_dashboard_restore_test merchant_ply_imports_live_before_restore_20260407_0340
* id : bigint(20) unsigned
* currency : varchar(8)
* record_date : date
* merchant : varchar(64)
* bo_count : int(11)
* ply_count : int(11)
* imported_at : datetime
* imported_by : varchar(64)
v pg_dashboard_restore_test pg_tracking
* id : bigint(20) unsigned
* brand : varchar(100)
* currency : varchar(10)
* report_type : varchar(50)
* reference : varchar(255)
* channel : varchar(255)
* pg_chart_id : varchar(255)
* pg_processing_time : datetime
* pg_completed_time : datetime
* pg_status : varchar(255)
* payment_chart_id : varchar(255)
* pyt_processing_time : datetime
* pyt_completed_time : datetime
* pyt_status : varchar(255)
* error_note : varchar(255)
* pg_amount : decimal(18,2)
* pg_pic_primary : varchar(255)
* pg_pic_secondary : varchar(255)
* pg_pic_override : varchar(255)
* pg_speed_seconds : int(11)
* pyt_speed_seconds : int(11)
* total_speed_seconds : int(11)
* record_date : date
* pg_pic : varchar(255)
* created_at : timestamp
* updated_at : timestamp
v pg_dashboard_restore_test pg_tracking_live_before_restore_20260407_0334
* id : bigint(20) unsigned
* brand : varchar(100)
* currency : varchar(10)
* reference : varchar(255)
* channel : varchar(255)
* pg_chart_id : varchar(255)
* pg_processing_time : datetime
* pg_completed_time : datetime
* pg_status : varchar(255)
* payment_chart_id : varchar(255)
* pyt_processing_time : datetime
* pyt_completed_time : datetime
* pyt_status : varchar(255)
* pg_speed_seconds : int(11)
* pyt_speed_seconds : int(11)
* total_speed_seconds : int(11)
* record_date : date
* pg_pic : varchar(255)
* created_at : timestamp
* updated_at : timestamp
v pg_dashboard_restore_test pg_tracking_recovered_20260407
* id : bigint(20) unsigned
* brand : varchar(100)
* currency : varchar(10)
* reference : varchar(255)
* channel : varchar(255)
* pg_chart_id : varchar(255)
* pg_processing_time : datetime
* pg_completed_time : datetime
* pg_status : varchar(255)
* payment_chart_id : varchar(255)
* pyt_processing_time : datetime
* pyt_completed_time : datetime
* pyt_status : varchar(255)
* pg_speed_seconds : int(11)
* pyt_speed_seconds : int(11)
* total_speed_seconds : int(11)
* record_date : date
* pg_pic : varchar(255)
* created_at : timestamp
* updated_at : timestamp
Create relationship
FOREIGN KEY
on delete
on update
Delete relationship