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 full-screen 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 hr_complaint_app attachments
* attachment_id : int(11)
* grievance_id : int(11)
* file_url : varchar(500)
* uploaded_by : int(11)
* uploaded_at : datetime
v hr_complaint_app audit_logs
* log_id : int(11)
* user_id : int(11)
* action_type : varchar(100)
* description : text
* ip_address : varchar(100)
* created_at : datetime
v hr_complaint_app grievances
* grievance_id : int(11)
* title : varchar(255)
* description : text
* confidential : tinyint(1)
* status_id : int(11)
* created_by : int(11)
* assigned_to : int(11)
* created_at : datetime
* updated_at : datetime
v hr_complaint_app grievance_comments
* comment_id : int(11)
* grievance_id : int(11)
* user_id : int(11)
* comment : text
* is_internal : tinyint(1)
* created_at : datetime
v hr_complaint_app grievance_status
* status_id : int(11)
* status_name : varchar(50)
v hr_complaint_app users
* user_id : int(11)
* username : varchar(100)
* password_hash : varchar(255)
* role : enum('admin','hr_admin','employee')
* full_name : varchar(150)
* email : varchar(150)
* device_id : varchar(20)
* fcm_token : varchar(255)
* created_at : datetime
Create relationship
FOREIGN KEY
on delete
on update
Delete relationship