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 enjaz_workflow action_types
* action_type_id : int(11)
* action_key : varchar(50)
* action_name : varchar(100)
* is_final : tinyint(1)
* moves_next : tinyint(1)
* requires_comment : tinyint(1)
v enjaz_workflow approvals
* approval_id : int(11)
* request_id : int(11)
* approver_id : int(11)
* decision : varchar(50)
* decision_date : datetime
v enjaz_workflow branches
* branch_id : int(11)
* branch_name : varchar(150)
* region_id : int(11)
* created_at : timestamp
v enjaz_workflow cache
* key : varchar(255)
* value : mediumtext
* expiration : int(11)
v enjaz_workflow delegations
* delegation_id : int(11)
* from_user : int(11)
* to_user : int(11)
* start_date : date
* end_date : date
v enjaz_workflow departments
* department_id : int(11)
* department_name : varchar(150)
* created_at : timestamp
v enjaz_workflow employees
* employee_id : int(11)
* full_name : varchar(200)
* department_id : int(11)
* branch_id : int(11)
* job_title_id : int(11)
* manager_id : int(11)
* created_at : timestamp
v enjaz_workflow job_titles
* job_title_id : int(11)
* title_name : varchar(150)
v enjaz_workflow kpi_snapshots
* kpi_id : int(11)
* department_id : int(11)
* total_requests : int(11)
* completed_requests : int(11)
* overdue_requests : int(11)
* avg_processing_time : float
* snapshot_date : date
v enjaz_workflow notifications
* notification_id : int(11)
* user_id : int(11)
* title : varchar(200)
* message : text
* is_read : tinyint(1)
* created_at : datetime
v enjaz_workflow notification_templates
* template_id : int(11)
* event_name : varchar(100)
* title_template : varchar(200)
* body_template : text
v enjaz_workflow profile_photos
* photo_id : int(11)
* user_id : int(11)
* file_path : varchar(300)
* updated_at : datetime
v enjaz_workflow regions
* region_id : int(11)
* region_name : varchar(100)
v enjaz_workflow requests
* request_id : int(11)
* request_type_id : int(11)
* title : varchar(255)
* description : text
* created_by : int(11)
* workflow_id : int(11)
* current_step_id : int(11)
* target_department_id : int(11)
* status : varchar(50)
* priority : varchar(50)
* created_at : datetime
* closed_at : datetime
v enjaz_workflow request_attachments
* attachment_id : int(11)
* request_id : int(11)
* file_path : varchar(300)
* uploaded_at : datetime
v enjaz_workflow request_comments
* comment_id : int(11)
* request_id : int(11)
* user_id : int(11)
* comment : text
* created_at : datetime
v enjaz_workflow request_types
* request_type_id : int(11)
* type_name : varchar(200)
v enjaz_workflow roles
* role_id : int(11)
* role_name : varchar(100)
v enjaz_workflow sessions
* id : varchar(255)
* user_id : bigint(20) unsigned
* ip_address : varchar(45)
* user_agent : text
* payload : longtext
* last_activity : int(11)
v enjaz_workflow sla_tracking
* sla_id : int(11)
* request_id : int(11)
* step_id : int(11)
* assigned_time : datetime
* decision_time : datetime
* sla_hours : int(11)
* is_overdue : tinyint(1)
v enjaz_workflow system_logs
* log_id : int(11)
* user_id : int(11)
* action : varchar(200)
* created_at : datetime
v enjaz_workflow system_settings
* setting_key : varchar(50)
* setting_value : varchar(255)
v enjaz_workflow users
* user_id : int(11)
* employee_id : int(11)
* username : varchar(100)
* password_hash : varchar(255)
* role_id : int(11)
* is_active : tinyint(1)
v enjaz_workflow user_devices
* device_id : int(11)
* user_id : int(11)
* fcm_token : varchar(500)
* device_type : enum('android','ios','web')
* created_at : datetime
* updated_at : datetime
v enjaz_workflow workflows
* workflow_id : int(11)
* workflow_name : varchar(200)
v enjaz_workflow workflow_actions
* action_id : int(11)
* request_id : int(11)
* step_id : int(11)
* action_by : int(11)
* action_date : datetime
* comment : text
* action_type_id : int(11)
v enjaz_workflow workflow_steps
* step_id : int(11)
* workflow_id : int(11)
* step_order : int(11)
* role_id : int(11)
* can_finalize : tinyint(1)
Create relationship
FOREIGN KEY
on delete
on update
Delete relationship