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 erp_pos accounts
* id : int(10) unsigned
* account_no : varchar(191)
* name : varchar(191)
* initial_balance : double
* total_balance : double
* note : text
* is_default : tinyint(1)
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v erp_pos adjustments
* id : int(10) unsigned
* reference_no : varchar(191)
* warehouse_id : int(11)
* document : varchar(191)
* total_qty : double
* item : int(11)
* note : text
* created_at : timestamp
* updated_at : timestamp
v erp_pos attendances
* id : int(10) unsigned
* date : date
* employee_id : int(11)
* user_id : int(11)
* checkin : varchar(191)
* checkout : varchar(191)
* status : int(11)
* note : text
* created_at : timestamp
* updated_at : timestamp
v erp_pos billers
* id : int(10) unsigned
* name : varchar(191)
* image : varchar(191)
* company_name : varchar(191)
* vat_number : varchar(191)
* email : varchar(191)
* phone_number : varchar(191)
* address : varchar(191)
* city : varchar(191)
* state : varchar(191)
* postal_code : varchar(191)
* country : varchar(191)
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v erp_pos brands
* id : int(10) unsigned
* title : varchar(191)
* image : varchar(191)
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v erp_pos cash_registers
* id : int(10) unsigned
* cash_in_hand : double
* user_id : int(11)
* warehouse_id : int(11)
* status : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v erp_pos categories
* id : int(10) unsigned
* name : varchar(191)
* image : varchar(191)
* parent_id : int(11)
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v erp_pos coupons
* id : int(10) unsigned
* code : varchar(191)
* type : varchar(191)
* amount : double
* minimum_amount : double
* quantity : int(11)
* used : int(11)
* expired_date : date
* user_id : int(11)
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v erp_pos customers
* id : int(10) unsigned
* customer_group_id : int(11)
* name : varchar(191)
* company_name : varchar(191)
* email : varchar(191)
* phone_number : varchar(191)
* tax_no : varchar(191)
* address : varchar(191)
* city : varchar(191)
* state : varchar(191)
* postal_code : varchar(191)
* country : varchar(191)
* deposit : double
* expense : double
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v erp_pos customer_groups
* id : int(10) unsigned
* name : varchar(191)
* percentage : varchar(191)
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v erp_pos deliveries
* id : int(10) unsigned
* reference_no : varchar(191)
* sale_id : int(11)
* user_id : int(11)
* address : text
* delivered_by : varchar(191)
* recieved_by : varchar(191)
* file : varchar(191)
* note : varchar(191)
* status : varchar(191)
* created_at : timestamp
* updated_at : timestamp
v erp_pos departments
* id : int(10) unsigned
* name : varchar(191)
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v erp_pos deposits
* id : int(10) unsigned
* amount : double
* customer_id : int(11)
* user_id : int(11)
* note : text
* created_at : timestamp
* updated_at : timestamp
v erp_pos employees
* id : int(10) unsigned
* name : varchar(191)
* email : varchar(191)
* phone_number : varchar(191)
* department_id : int(11)
* user_id : int(11)
* image : varchar(191)
* address : varchar(191)
* city : varchar(191)
* country : varchar(191)
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v erp_pos expenses
* id : int(10) unsigned
* reference_no : varchar(191)
* expense_category_id : int(11)
* warehouse_id : int(11)
* account_id : int(11)
* user_id : int(11)
* cash_register_id : int(11)
* amount : int(11)
* note : text
* created_at : timestamp
* updated_at : timestamp
v erp_pos expense_categories
* id : int(10) unsigned
* code : varchar(191)
* name : varchar(191)
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v erp_pos failed_jobs
* id : bigint(20) unsigned
* connection : text
* queue : text
* payload : longtext
* exception : longtext
* failed_at : timestamp
v erp_pos general_settings
* id : int(10) unsigned
* site_title : varchar(191)
* currency : varchar(191)
* staff_access : varchar(191)
* date_format : varchar(191)
* developed_by : varchar(191)
* theme : varchar(191)
* created_at : timestamp
* updated_at : timestamp
* currency_position : varchar(191)
v erp_pos gift_cards
* id : int(10) unsigned
* card_no : varchar(191)
* amount : double
* expense : double
* customer_id : int(11)
* user_id : int(11)
* expired_date : date
* created_by : int(11)
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v erp_pos gift_card_recharges
* id : int(10) unsigned
* gift_card_id : int(11)
* amount : double
* user_id : int(11)
* created_at : timestamp
* updated_at : timestamp
v erp_pos holidays
* id : int(10) unsigned
* user_id : int(11)
* from_date : date
* to_date : date
* note : text
* is_approved : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v erp_pos hrm_settings
* id : int(10) unsigned
* checkin : varchar(191)
* checkout : varchar(191)
* created_at : timestamp
* updated_at : timestamp
v erp_pos languages
* id : int(10) unsigned
* code : varchar(191)
* created_at : timestamp
* updated_at : timestamp
v erp_pos migrations
* id : int(10) unsigned
* migration : varchar(191)
* batch : int(11)
v erp_pos money_transfers
* id : int(10) unsigned
* reference_no : varchar(191)
* from_account_id : int(11)
* to_account_id : int(11)
* amount : double
* created_at : timestamp
* updated_at : timestamp
v erp_pos notifications
* id : char(36)
* type : varchar(191)
* notifiable_type : varchar(191)
* notifiable_id : bigint(20) unsigned
* data : text
* read_at : timestamp
* created_at : timestamp
* updated_at : timestamp
v erp_pos password_resets
* email : varchar(191)
* token : varchar(191)
* created_at : timestamp
v erp_pos payments
* id : int(10) unsigned
* payment_reference : varchar(191)
* user_id : int(11)
* purchase_id : int(11)
* sale_id : int(11)
* cash_register_id : int(11)
* account_id : int(11)
* amount : double
* change : double
* paying_method : varchar(191)
* payment_note : text
* created_at : timestamp
* updated_at : timestamp
v erp_pos payment_with_cheque
* id : int(10) unsigned
* payment_id : int(11)
* cheque_no : varchar(191)
* created_at : timestamp
* updated_at : timestamp
v erp_pos payment_with_credit_card
* id : int(10) unsigned
* payment_id : int(11)
* customer_id : int(11)
* customer_stripe_id : varchar(191)
* charge_id : varchar(191)
* created_at : timestamp
* updated_at : timestamp
v erp_pos payment_with_gift_card
* id : int(10) unsigned
* payment_id : int(11)
* gift_card_id : int(11)
* created_at : timestamp
* updated_at : timestamp
v erp_pos payment_with_paypal
* id : int(10) unsigned
* payment_id : int(11)
* transaction_id : varchar(191)
* created_at : timestamp
* updated_at : timestamp
v erp_pos payrolls
* id : int(10) unsigned
* reference_no : varchar(191)
* employee_id : int(11)
* account_id : int(11)
* user_id : int(11)
* amount : double
* paying_method : varchar(191)
* note : text
* created_at : timestamp
* updated_at : timestamp
v erp_pos permissions
* id : int(10) unsigned
* name : varchar(191)
* guard_name : varchar(191)
* created_at : timestamp
* updated_at : timestamp
v erp_pos pos_setting
* id : int(11)
* customer_id : int(11)
* warehouse_id : int(11)
* biller_id : int(11)
* product_number : int(11)
* keybord_active : tinyint(1)
* stripe_public_key : varchar(191)
* stripe_secret_key : varchar(191)
* created_at : timestamp
* updated_at : timestamp
v erp_pos products
* id : int(10) unsigned
* name : varchar(191)
* code : varchar(191)
* type : varchar(191)
* barcode_symbology : varchar(191)
* brand_id : int(11)
* category_id : int(11)
* unit_id : int(11)
* purchase_unit_id : int(11)
* sale_unit_id : int(11)
* cost : varchar(191)
* price : varchar(191)
* qty : double
* alert_quantity : double
* promotion : tinyint(4)
* promotion_price : varchar(191)
* starting_date : varchar(200)
* last_date : date
* tax_id : int(11)
* tax_method : int(11)
* image : longtext
* file : varchar(191)
* is_variant : tinyint(1)
* featured : tinyint(4)
* product_list : varchar(191)
* qty_list : varchar(191)
* price_list : varchar(191)
* product_details : text
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v erp_pos product_adjustments
* id : int(10) unsigned
* adjustment_id : int(11)
* product_id : int(11)
* qty : double
* action : varchar(191)
* created_at : timestamp
* updated_at : timestamp
v erp_pos product_purchases
* id : int(10) unsigned
* purchase_id : int(11)
* product_id : int(11)
* variant_id : int(11)
* qty : double
* recieved : double
* purchase_unit_id : int(11)
* net_unit_cost : double
* discount : double
* tax_rate : double
* tax : double
* total : double
* created_at : timestamp
* updated_at : timestamp
v erp_pos product_quotation
* id : int(10) unsigned
* quotation_id : int(11)
* product_id : int(11)
* variant_id : int(11)
* qty : double
* sale_unit_id : int(11)
* net_unit_price : double
* discount : double
* tax_rate : double
* tax : double
* total : double
* created_at : timestamp
* updated_at : timestamp
v erp_pos product_returns
* id : int(10) unsigned
* return_id : int(11)
* product_id : int(11)
* variant_id : int(11)
* qty : double
* sale_unit_id : int(11)
* net_unit_price : double
* discount : double
* tax_rate : double
* tax : double
* total : double
* created_at : timestamp
* updated_at : timestamp
v erp_pos product_sales
* id : int(10) unsigned
* sale_id : int(11)
* product_id : int(11)
* variant_id : int(11)
* qty : double
* sale_unit_id : int(11)
* net_unit_price : double
* discount : double
* tax_rate : double
* tax : double
* total : double
* created_at : timestamp
* updated_at : timestamp
v erp_pos product_transfer
* id : int(10) unsigned
* transfer_id : int(11)
* product_id : int(11)
* variant_id : int(11)
* qty : double
* purchase_unit_id : int(11)
* net_unit_cost : double
* tax_rate : double
* tax : double
* total : double
* created_at : timestamp
* updated_at : timestamp
v erp_pos product_variants
* id : int(10) unsigned
* product_id : int(11)
* variant_id : int(11)
* position : int(11)
* item_code : varchar(191)
* additional_price : double
* qty : double
* created_at : timestamp
* updated_at : timestamp
v erp_pos product_warehouse
* id : int(10) unsigned
* product_id : varchar(191)
* variant_id : int(11)
* warehouse_id : int(11)
* qty : double
* created_at : timestamp
* updated_at : timestamp
v erp_pos purchases
* id : int(10) unsigned
* reference_no : varchar(191)
* user_id : int(11)
* warehouse_id : int(11)
* supplier_id : int(11)
* item : int(11)
* total_qty : double
* total_discount : double
* total_tax : double
* total_cost : double
* order_tax_rate : double
* order_tax : double
* order_discount : double
* shipping_cost : double
* grand_total : double
* paid_amount : double
* status : int(11)
* payment_status : int(11)
* document : varchar(191)
* note : text
* created_at : timestamp
* updated_at : timestamp
v erp_pos purchase_product_return
* id : int(10) unsigned
* return_id : int(11)
* product_id : int(11)
* variant_id : int(11)
* qty : double
* purchase_unit_id : int(11)
* net_unit_cost : double
* discount : double
* tax_rate : double
* tax : double
* total : double
* created_at : timestamp
* updated_at : timestamp
v erp_pos quotations
* id : int(10) unsigned
* reference_no : varchar(191)
* user_id : int(11)
* biller_id : int(11)
* supplier_id : int(11)
* customer_id : int(11)
* warehouse_id : int(11)
* item : int(11)
* total_qty : double
* total_discount : double
* total_tax : double
* total_price : double
* order_tax_rate : double
* order_tax : double
* order_discount : double
* shipping_cost : double
* grand_total : double
* quotation_status : int(11)
* document : varchar(191)
* note : text
* created_at : timestamp
* updated_at : timestamp
v erp_pos returns
* id : int(10) unsigned
* reference_no : varchar(191)
* user_id : int(11)
* cash_register_id : int(11)
* customer_id : int(11)
* warehouse_id : int(11)
* biller_id : int(11)
* account_id : int(11)
* item : int(11)
* total_qty : double
* total_discount : double
* total_tax : double
* total_price : double
* order_tax_rate : double
* order_tax : double
* grand_total : double
* document : varchar(191)
* return_note : text
* staff_note : text
* created_at : timestamp
* updated_at : timestamp
v erp_pos return_purchases
* id : int(10) unsigned
* reference_no : varchar(191)
* supplier_id : int(11)
* warehouse_id : int(11)
* user_id : int(11)
* account_id : int(11)
* item : int(11)
* total_qty : double
* total_discount : double
* total_tax : double
* total_cost : double
* order_tax_rate : double
* order_tax : double
* grand_total : double
* document : varchar(191)
* return_note : text
* staff_note : text
* created_at : timestamp
* updated_at : timestamp
v erp_pos roles
* id : int(10) unsigned
* name : varchar(191)
* description : text
* guard_name : varchar(191)
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v erp_pos role_has_permissions
* permission_id : int(10) unsigned
* role_id : int(10) unsigned
v erp_pos sales
* id : int(10) unsigned
* reference_no : varchar(191)
* user_id : int(11)
* cash_register_id : int(11)
* customer_id : int(11)
* warehouse_id : int(11)
* biller_id : int(11)
* item : int(11)
* total_qty : double
* total_discount : double
* total_tax : double
* total_price : double
* grand_total : double
* order_tax_rate : double
* order_tax : double
* order_discount : double
* coupon_id : int(11)
* coupon_discount : double
* shipping_cost : double
* sale_status : int(11)
* payment_status : int(11)
* document : varchar(191)
* paid_amount : double
* sale_note : text
* staff_note : text
* created_at : timestamp
* updated_at : timestamp
v erp_pos stock_counts
* id : int(10) unsigned
* reference_no : varchar(191)
* warehouse_id : int(11)
* category_id : varchar(191)
* brand_id : varchar(191)
* user_id : int(11)
* type : varchar(191)
* initial_file : varchar(191)
* final_file : varchar(191)
* note : text
* is_adjusted : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v erp_pos suppliers
* id : int(10) unsigned
* name : varchar(191)
* image : varchar(191)
* company_name : varchar(191)
* vat_number : varchar(191)
* email : varchar(191)
* phone_number : varchar(191)
* address : varchar(191)
* city : varchar(191)
* state : varchar(191)
* postal_code : varchar(191)
* country : varchar(191)
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v erp_pos taxes
* id : int(10) unsigned
* name : varchar(191)
* rate : double
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v erp_pos transfers
* id : int(10) unsigned
* reference_no : varchar(191)
* user_id : int(11)
* status : int(11)
* from_warehouse_id : int(11)
* to_warehouse_id : int(11)
* item : int(11)
* total_qty : double
* total_tax : double
* total_cost : double
* shipping_cost : double
* grand_total : double
* document : varchar(191)
* note : text
* created_at : timestamp
* updated_at : timestamp
v erp_pos units
* id : int(10) unsigned
* unit_code : varchar(191)
* unit_name : varchar(191)
* base_unit : int(11)
* operator : varchar(191)
* operation_value : double
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v erp_pos users
* id : int(10) unsigned
* name : varchar(191)
* email : varchar(191)
* password : varchar(191)
* remember_token : varchar(100)
* phone : varchar(191)
* company_name : varchar(191)
* role_id : int(11)
* biller_id : int(11)
* warehouse_id : int(11)
* is_active : tinyint(1)
* is_deleted : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
v erp_pos variants
* id : int(10) unsigned
* name : varchar(191)
* created_at : timestamp
* updated_at : timestamp
v erp_pos warehouses
* id : int(10) unsigned
* name : varchar(191)
* phone : varchar(191)
* email : varchar(191)
* address : text
* is_active : tinyint(1)
* created_at : timestamp
* updated_at : timestamp
Create relationship
FOREIGN KEY
on delete
on update
Delete relationship