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
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 warehouse admin
* identity : varchar(191)
* firstName : varchar(191)
* lastName : varchar(191)
* password : varchar(191)
* status : enum('active','inactive')
* uuid : binary(16)
* created : datetime
* updated : datetime
v warehouse admin_login
* identity : varchar(191)
* adminIp : varchar(191)
* country : varchar(191)
* continent : varchar(191)
* organization : varchar(191)
* deviceType : varchar(191)
* deviceBrand : varchar(191)
* deviceModel : varchar(40)
* isMobile : enum('yes','no')
* osName : varchar(191)
* osVersion : varchar(191)
* osPlatform : varchar(191)
* clientType : varchar(191)
* clientName : varchar(191)
* clientEngine : varchar(191)
* clientVersion : varchar(191)
* loginStatus : enum('success','fail')
* uuid : binary(16)
* created : datetime
* updated : datetime
v warehouse admin_role
* name : enum('admin','superuser')
* uuid : binary(16)
* created : datetime
* updated : datetime
v warehouse admin_roles
* userUuid : binary(16)
* roleUuid : binary(16)
v warehouse categories
* uuid : char(36)
* name : varchar(255)
* description : text
* parent_uuid : char(36)
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v warehouse oauth_access_tokens
* id : int(10) unsigned
* user_id : varchar(25)
* token : varchar(100)
* revoked : tinyint(1)
* expires_at : datetime
* client_id : int(10) unsigned
v warehouse oauth_access_token_scopes
* access_token_id : int(10) unsigned
* scope_id : int(10) unsigned
v warehouse oauth_auth_codes
* id : int(10) unsigned
* revoked : tinyint(1)
* expiresDatetime : datetime
* client_id : int(10) unsigned
v warehouse oauth_auth_code_scopes
* auth_code_id : int(10) unsigned
* scope_id : int(10) unsigned
v warehouse oauth_clients
* id : int(10) unsigned
* name : varchar(40)
* secret : varchar(100)
* redirect : varchar(191)
* revoked : tinyint(1)
* isConfidential : tinyint(1)
* user_id : binary(16)
v warehouse oauth_refresh_tokens
* id : int(10) unsigned
* revoked : tinyint(1)
* expires_at : datetime
* access_token_id : int(10) unsigned
v warehouse oauth_scopes
* id : int(10) unsigned
* scope : varchar(191)
v warehouse products
* uuid : char(36)
* tenant_uuid : char(36)
* name : varchar(255)
* sku : varchar(100)
* description : text
* unit : varchar(50)
* barcode : varchar(255)
* images : longtext
* weight : decimal(8,2)
* dimensions : longtext
* expiry_date : date
* supplier : varchar(255)
* price_backup : decimal(10,2)
* quantity_backup : int(11)
* category_uuid : char(36)
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v warehouse product_stock
* uuid : char(36)
* tenant_uuid : char(36)
* product_uuid : char(36)
* warehouse_uuid : char(36)
* quantity : int(11)
* sale_price : decimal(10,2)
* purchase_price : decimal(10,2)
* last_purchase_date : date
* min_stock : int(11)
* max_stock : int(11)
* created_at : timestamp
* updated_at : timestamp
v warehouse product_stock_summary
* product_uuid : char(36)
* tenant_uuid : char(36)
* product_name : varchar(255)
* sku : varchar(100)
* unit : varchar(50)
* barcode : varchar(255)
* supplier : varchar(255)
* product_active : tinyint(1)
* warehouse_uuid : char(36)
* warehouse_name : varchar(255)
* warehouse_code : varchar(50)
* quantity : int(11)
* sale_price : decimal(10,2)
* purchase_price : decimal(10,2)
* min_stock : int(11)
* max_stock : int(11)
* last_purchase_date : date
* stock_status : varchar(6)
v warehouse settings
* identifier : enum('table_admin_list_selected_columns','table_admin_list_logins_selected_columns','table_user_list_selected_columns')
* value : longtext
* uuid : binary(16)
* created : datetime
* updated : datetime
* admin_uuid : binary(16)
v warehouse tenants
* uuid : char(36)
* name : varchar(255)
* slug : varchar(255)
* description : text
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v warehouse user
* identity : varchar(191)
* password : varchar(191)
* status : enum('active','pending','deleted')
* hash : varchar(191)
* uuid : binary(16)
* created : datetime
* updated : datetime
v warehouse user_avatar
* name : varchar(191)
* uuid : binary(16)
* created : datetime
* updated : datetime
* userUuid : binary(16)
v warehouse user_detail
* firstName : varchar(191)
* lastName : varchar(191)
* email : varchar(191)
* uuid : binary(16)
* created : datetime
* updated : datetime
* userUuid : binary(16)
v warehouse user_reset_password
* expires : datetime
* hash : varchar(191)
* status : enum('completed','requested')
* uuid : binary(16)
* created : datetime
* updated : datetime
* userUuid : binary(16)
v warehouse user_role
* name : enum('guest','user')
* uuid : binary(16)
* created : datetime
* updated : datetime
v warehouse user_roles
* userUuid : binary(16)
* roleUuid : binary(16)
v warehouse user_tenants
* user_uuid : char(36)
* tenant_uuid : char(36)
* role : enum('owner','admin','user')
* created_at : timestamp
v warehouse warehouses
* uuid : char(36)
* tenant_uuid : char(36)
* name : varchar(255)
* code : varchar(50)
* address : text
* description : text
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v warehouse warehouse_operations
* uuid : char(36)
* tenant_uuid : char(36)
* document_number : varchar(100)
* product_uuid : char(36)
* warehouse_uuid : char(36)
* product_name_snapshot : varchar(255)
* product_sku_snapshot : varchar(100)
* product_unit_snapshot : varchar(50)
* warehouse_name_snapshot : varchar(255)
* warehouse_code_snapshot : varchar(50)
* type : enum('receipt','dispatch','transfer','inventory','correction','stock_in','stock_out','adjustment')
* quantity : int(11)
* unit_price : decimal(10,2)
* total_amount : decimal(12,2)
* supplier_name : varchar(255)
* customer_name : varchar(255)
* notes : text
* is_processed : tinyint(1)
* processed_at : timestamp
* operation_date : timestamp
* reason : varchar(255)
* user_uuid : char(36)
* created_at : timestamp
* updated_at : timestamp
Create relationship
FOREIGN KEY
on delete
on update
Delete relationship