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 kebersihan_pondok assessments
* id : bigint(20) unsigned
* room_id : bigint(20) unsigned
* officer_id : bigint(20) unsigned
* assessment_date : date
* assessment_period : varchar(10)
* assessed_at : datetime
* cleanliness_score : decimal(6,2)
* tidiness_score : decimal(6,2)
* final_score : decimal(6,2)
* note : text
* created_at : timestamp
v kebersihan_pondok assessment_details
* id : bigint(20) unsigned
* assessment_id : bigint(20) unsigned
* criterion_id : bigint(20) unsigned
* result : enum('yes','no')
* score : decimal(6,2)
* weight : decimal(8,2)
* criterion_name_snapshot : varchar(150)
* category_snapshot : enum('kebersihan','kerapian')
v kebersihan_pondok criteria
* id : bigint(20) unsigned
* name : varchar(150)
* category : enum('kebersihan','kerapian')
* weight : decimal(8,2)
* score_yes : decimal(6,2)
* score_no : decimal(6,2)
* sort_order : int(11)
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v kebersihan_pondok rooms
* id : bigint(20) unsigned
* code : varchar(30)
* name : varchar(100)
* area : varchar(100)
* capacity : smallint(5) unsigned
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v kebersihan_pondok users
* id : bigint(20) unsigned
* name : varchar(100)
* profile_photo : varchar(255)
* username : varchar(50)
* password : varchar(255)
* role : enum('admin','petugas')
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v kebersihan_pondok user_remember_tokens
* id : bigint(20) unsigned
* user_id : bigint(20) unsigned
* selector : char(24)
* token_hash : char(64)
* expires_at : datetime
* created_at : timestamp
Create relationship
FOREIGN KEY
on delete
on update
Delete relationship