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 warehouse_inventory blocks
* id : int(11)
* product_id : int(11)
* quantity : double
* expiry_date : date
* created_at : timestamp
v warehouse_inventory block_inventory
* id : int(11)
* block_id : int(11)
* product_id : varchar(25)
* warehouse_id : int(11)
* quantity : double
* expiry_date : date
* actual_expiry_date : date
* created_at : timestamp
* updated_at : timestamp
* note : text
* location : varchar(255)
* created_by : varchar(100)
v warehouse_inventory branches
* id : int(11)
* name : varchar(25)
v warehouse_inventory products
* id : int(11)
* category_id : int(11)
* category_name : varchar(50)
* product_id : varchar(25)
* product_name : varchar(100)
* barcode : varchar(50)
* helper_name : varchar(100)
* continuity : enum('مستمر','متوقف','مستمر للحاجة')
* created_at : timestamp
* updated_at : timestamp
* category : varchar(100)
* unit : varchar(50)
* package_size : int(11)
* specifications : text
* foreign_name : varchar(100)
* brand : varchar(100)
v warehouse_inventory system_inventory
* id : int(11)
* product_id : varchar(25)
* warehouse_id : int(11)
* system_quantity : double
* expiry_date : date
* last_updated : timestamp
v warehouse_inventory users
* id : int(11)
* username : varchar(100)
* password : varchar(500)
* nickname : varchar(100)
* device_id : varchar(255)
* role : enum('admin','employee')
* last_login : timestamp
v warehouse_inventory warehouses
* id : int(11)
* branch_id : int(11)
* latitude : double
* longitude : double
* name : varchar(255)
* last_updated : timestamp
* created_at : timestamp
v warehouse_inventory warehouse_inventory_view
* product_id : varchar(25)
* product_name : varchar(100)
* unit : varchar(50)
* warehouse_id : int(11)
* warehouse_name : varchar(255)
* system_expiry_date : date
* actual_expiry_date : date
* system_quantity : double
* actual_quantity : double
* surplus : double
* shortage : double
* note : mediumtext
* created_at : timestamp
Create relationship
FOREIGN KEY
on delete
on update
Delete relationship