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 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 wholesale addresses
* id : bigint(20) unsigned
* full_name : varchar(255)
* street : varchar(255)
* city : varchar(255)
* country : varchar(3)
* state : varchar(2)
* zip : varchar(16)
* phone : varchar(15)
* store_id : bigint(20) unsigned
* created_at : timestamp
* updated_at : timestamp
* deleted_at : timestamp
v wholesale colors
* id : bigint(20) unsigned
* label : varchar(255)
* factory_id : bigint(20) unsigned
* created_at : timestamp
* updated_at : timestamp
* deleted_at : timestamp
v wholesale custom_items
* id : bigint(20) unsigned
* name : varchar(255)
* factory_price : double(8,2)
* wholesale_price : double(8,2)
* msrp : double(8,2)
* description : text
* image : varchar(512)
* published : tinyint(1)
* estimated_months : int(11)
* estimated_days : int(11)
* stax_item_id : varchar(255)
* factory_id : bigint(20) unsigned
* dress_id : bigint(20) unsigned
* created_at : timestamp
* updated_at : timestamp
* deleted_at : timestamp
v wholesale dresses
* id : bigint(20) unsigned
* style_number : varchar(32)
* name : varchar(256)
* factory_price : double(8,2)
* wholesale_price : double(8,2)
* msrp : double(8,2)
* image : varchar(512)
* published : tinyint(1)
* estimated_months : int(11)
* estimated_days : int(11)
* stax_item_id : varchar(255)
* factory_id : bigint(20) unsigned
* created_at : timestamp
* updated_at : timestamp
* deleted_at : timestamp
v wholesale dress_color
* dress_id : bigint(20) unsigned
* color_id : bigint(20) unsigned
v wholesale dress_size
* dress_id : bigint(20) unsigned
* size_id : bigint(20) unsigned
v wholesale factories
* id : bigint(20) unsigned
* name : varchar(255)
* created_at : timestamp
* updated_at : timestamp
* deleted_at : timestamp
v wholesale factory_language
* factory_id : bigint(20) unsigned
* language_id : bigint(20) unsigned
v wholesale factory_packages
* id : bigint(20) unsigned
* shipping_cost : double(8,2)
* tracking_number : varchar(32)
* factory_id : bigint(20) unsigned
* shipping_cost_applied_date : timestamp
* tracking_number_applied_date : timestamp
* created_at : timestamp
* updated_at : timestamp
v wholesale factory_payments
* id : bigint(20) unsigned
* amount : double(8,2)
* date : timestamp
* factory_id : bigint(20) unsigned
* created_at : timestamp
* updated_at : timestamp
v wholesale failed_jobs
* id : bigint(20) unsigned
* uuid : varchar(255)
* connection : text
* queue : text
* payload : longtext
* exception : longtext
* failed_at : timestamp
v wholesale firewall_ips
* id : int(10) unsigned
* ip : varchar(255)
* log_id : int(11)
* blocked : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
* deleted_at : timestamp
v wholesale firewall_logs
* id : int(10) unsigned
* ip : varchar(255)
* level : varchar(255)
* middleware : varchar(255)
* user_id : int(11)
* url : text
* referrer : varchar(255)
* request : text
* created_at : timestamp
* updated_at : timestamp
* deleted_at : timestamp
v wholesale invoices
* id : bigint(20) unsigned
* number : varchar(255)
* status : enum('1','2','3')
* store_package_id : bigint(20) unsigned
* created_at : timestamp
* updated_at : timestamp
v wholesale languages
* id : bigint(20) unsigned
* name : varchar(32)
* code : varchar(5)
* created_at : timestamp
* updated_at : timestamp
v wholesale migrations
* id : int(10) unsigned
* migration : varchar(255)
* batch : int(11)
v wholesale oauth_access_tokens
* id : varchar(100)
* user_id : bigint(20) unsigned
* client_id : char(36)
* name : varchar(255)
* scopes : text
* revoked : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
* expires_at : datetime
v wholesale oauth_auth_codes
* id : varchar(100)
* user_id : bigint(20) unsigned
* client_id : char(36)
* scopes : text
* revoked : tinyint(1)
* expires_at : datetime
v wholesale oauth_clients
* id : char(36)
* user_id : bigint(20) unsigned
* name : varchar(255)
* secret : varchar(100)
* provider : varchar(255)
* redirect : text
* personal_access_client : tinyint(1)
* password_client : tinyint(1)
* revoked : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v wholesale oauth_personal_access_clients
* id : bigint(20) unsigned
* client_id : char(36)
* created_at : timestamp
* updated_at : timestamp
v wholesale oauth_refresh_tokens
* id : varchar(100)
* access_token_id : varchar(100)
* revoked : tinyint(1)
* expires_at : datetime
v wholesale orders
* id : bigint(20) unsigned
* type : enum('1','2','3')
* purchase_order_number : varchar(255)
* sales_order_number : int(11)
* orderable_type : varchar(255)
* factory_status : enum('1','2','3','4','5')
* store_status : enum('1','2','3')
* wholesale_status : enum('1','2','3','4','5','6')
* bust : double(8,2)
* waist : double(8,2)
* hips : double(8,2)
* hollow : double(8,2)
* custom_size_details : text
* notes : text
* payment_method_type : enum('1','2')
* factory_price : double(8,2)
* wholesale_price : double(8,2)
* inventory_status : enum('1','2')
* orderable_id : bigint(20) unsigned
* size_id : bigint(20) unsigned
* color_id : bigint(20) unsigned
* factory_id : bigint(20) unsigned
* store_id : bigint(20) unsigned
* address_id : bigint(20) unsigned
* factory_package_id : bigint(20) unsigned
* store_package_id : bigint(20) unsigned
* user_id : bigint(20) unsigned
* transaction_id : bigint(20) unsigned
* stax_payment_method_id : varchar(255)
* wear_date : timestamp
* estimated_ship_date : timestamp
* sent_to_factory_date : timestamp
* cancel_date : timestamp
* added_to_inventory_date : timestamp
* added_to_previous_inventory_date : timestamp
* created_at : timestamp
* updated_at : timestamp
* deleted_at : timestamp
v wholesale password_resets
* email : varchar(255)
* token : varchar(255)
* created_at : timestamp
v wholesale sizes
* id : bigint(20) unsigned
* label : varchar(255)
* factory_id : bigint(20) unsigned
* created_at : timestamp
* updated_at : timestamp
* deleted_at : timestamp
v wholesale stores
* id : bigint(20) unsigned
* first_name : varchar(64)
* last_name : varchar(64)
* email : varchar(255)
* phone : varchar(15)
* website : varchar(32)
* name : varchar(255)
* address : text
* payment_method_type : enum('1','2')
* stax_customer_id : varchar(255)
* created_at : timestamp
* updated_at : timestamp
* deleted_at : timestamp
v wholesale store_packages
* id : bigint(20) unsigned
* shipping_cost : double(8,2)
* tracking_number : varchar(32)
* store_id : bigint(20) unsigned
* address_id : bigint(20) unsigned
* stax_payment_method_id : varchar(255)
* shipping_cost_applied_date : timestamp
* tracking_number_applied_date : timestamp
* created_at : timestamp
* updated_at : timestamp
v wholesale telescope_entries
* sequence : bigint(20) unsigned
* uuid : char(36)
* batch_id : char(36)
* family_hash : varchar(255)
* should_display_on_index : tinyint(1)
* type : varchar(20)
* content : longtext
* created_at : datetime
v wholesale telescope_entries_tags
* entry_uuid : char(36)
* tag : varchar(255)
v wholesale telescope_monitoring
* tag : varchar(255)
v wholesale transactions
* id : bigint(20) unsigned
* amount : double(8,2)
* stax_transaction_id : varchar(255)
* invoice_id : bigint(20) unsigned
* store_id : bigint(20) unsigned
* created_at : timestamp
* updated_at : timestamp
v wholesale users
* id : bigint(20) unsigned
* name : varchar(255)
* first_name : varchar(255)
* last_name : varchar(255)
* email : varchar(255)
* email_verified_at : timestamp
* password : varchar(255)
* remember_token : varchar(100)
* role : enum('1','2')
* userable_type : varchar(255)
* userable_id : bigint(20) unsigned
* language_id : bigint(20) unsigned
* address_id : bigint(20) unsigned
* created_at : timestamp
* updated_at : timestamp
Create relationship
FOREIGN KEY
on delete
on update
Delete relationship