📊 Complete Database Export

Database: inventory_pos
Host: localhost
Export Time: 2026-02-14 11:37:10

21

Total Tables

283

Total Records

10.4.32-MariaDB

MySQL Version

8.2.12

PHP Version

📋 account_transactions 17 rows

Table Structure:

FieldTypeNullKeyDefaultExtra
idint(11)NOPRIMARYNULLauto_increment
account_idint(11)NOFOREIGNNULL
transaction_typeenum('credit','debit')NONULL
amountdecimal(15,2)NONULL
reference_typevarchar(50)NONULL
reference_idint(11)NONULL
descriptiontextYESNULL
transaction_datedatetimeYEScurrent_timestamp()
created_byint(11)YESNULL

Indexes:

🔗 Foreign Key Relationships:

  • account_id ΓåÆ references financial_accounts.id

Sample Data (First 10 rows):

idaccount_idtransaction_typeamountreference_typereference_iddescriptiontransaction_datecreated_by
11credit15187.93sale16Sale Payment Ref: INV-20260209-1EBDBF2026-02-09 17:29:061
21credit500000.00capital_injection4Capital injection - Investor: ehrth2026-02-09 17:30:171
31credit26645.50sale17Sale Payment Ref: INV-20260209-8EA6D22026-02-09 21:06:171
41credit15987.30sale18Sale Payment Ref: INV-20260209-1C911A2026-02-09 21:08:011
51credit47961.90sale19Sale Payment Ref: INV-20260209-9234C72026-02-09 21:15:051
61credit2545.90sale20Sale Payment Ref: INV-20260209-280EF22026-02-09 21:15:461
71credit2297.70sale21Sale Payment Ref: INV-20260209-E911942026-02-09 21:36:461
81credit765.90sale22Sale Payment Ref: INV-20260209-1344A32026-02-09 21:48:331
91credit765.90sale23Sale Payment Ref: INV-20260209-22FD072026-02-09 22:08:021
101credit700000.00capital_injection5Capital injection - Investor: extra2026-02-09 23:05:501
📋 activity_logs 131 rows

Table Structure:

FieldTypeNullKeyDefaultExtra
idint(10) unsignedNOPRIMARYNULLauto_increment
user_idint(10) unsignedYESFOREIGNNULL
actionvarchar(100)NONULL
table_namevarchar(100)YESFOREIGNNULL
record_idint(10) unsignedYESNULL
old_valueslongtextYESNULL
new_valueslongtextYESNULL
descriptiontextYESNULL
ip_addressvarchar(45)YESNULL
user_agenttextYESNULL
created_attimestampNOFOREIGNcurrent_timestamp()

Indexes:

🔗 Foreign Key Relationships:

  • user_id ΓåÆ references users.id

Sample Data (First 10 rows):

iduser_idactiontable_namerecord_idold_valuesnew_valuesdescriptionip_addressuser_agentcreated_at
11stock_adjustmentproducts16{"old_stock":47}{"new_stock":59,"reason":"gsfg"}NULL::1Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Sa...2026-02-08 17:04:12
21create_investorcapital15NULL{"name":"iniokxnb","phone":"","email":""}Added new investor: iniokxnb::1Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Sa...2026-02-09 00:58:43
31create_investorcapital16NULL{"name":"iniokxnbios","phone":"","email":""}Added new investor: iniokxnbios::1Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Sa...2026-02-09 00:59:00
41create_investorcapital17NULL{"name":"dmlkgns","phone":"","email":""}Added new investor: dmlkgns::1Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Sa...2026-02-09 01:00:15
51capital_injectioncapital2NULL{"trans_date":"2026-02-08","investor_id":"17","amount":"5000","method":"cash","description":""}Capital injection of 5000::1Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Sa...2026-02-09 01:00:34
61delete_investorcapital11NULLNULLDeleted investor ID: 11::1Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Sa...2026-02-09 01:04:55
71delete_investorcapital12NULLNULLDeleted investor ID: 12::1Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Sa...2026-02-09 01:04:59
81delete_investorcapital13NULLNULLDeleted investor ID: 13::1Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Sa...2026-02-09 01:05:02
91delete_investorcapital14NULLNULLDeleted investor ID: 14::1Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Sa...2026-02-09 01:05:06
101delete_investorcapital15NULLNULLDeleted investor ID: 15::1Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Sa...2026-02-09 01:05:09
📋 capital_transactions 1 rows

Table Structure:

FieldTypeNullKeyDefaultExtra
idint(10) unsignedNOPRIMARYNULLauto_increment
trans_datedateNONULL
investor_idint(10) unsignedNOFOREIGNNULL
typeenum('injection','withdrawal')NONULL
amountdecimal(12,2)NONULL
methodenum('cash','bank','mobile')YEScash
referencevarchar(100)YESNULL
descriptiontextYESNULL
created_byint(10) unsignedYESFOREIGNNULL
created_attimestampNOcurrent_timestamp()

Indexes:

🔗 Foreign Key Relationships:

  • investor_id ΓåÆ references contacts.id
  • created_by ΓåÆ references users.id

Sample Data (First 10 rows):

idtrans_dateinvestor_idtypeamountmethodreferencedescriptioncreated_bycreated_at
12026-02-1010injection500000.00cashNULLInitial investment12026-02-10 17:16:06
📋 categories 1 rows

Table Structure:

FieldTypeNullKeyDefaultExtra
idint(10) unsignedNOPRIMARYNULLauto_increment
namevarchar(255)NONULL
descriptiontextYESNULL
is_activetinyint(1)YES1
created_attimestampNOcurrent_timestamp()

Sample Data (First 10 rows):

idnamedescriptionis_activecreated_at
11j9ojfhisdyesrubujb12026-02-09 21:10:50
📋 contacts 5 rows

Table Structure:

FieldTypeNullKeyDefaultExtra
idint(10) unsignedNOPRIMARYNULLauto_increment
typeenum('customer','supplier','investor')NOFOREIGNNULL
namevarchar(255)NONULL
emailvarchar(255)YESNULL
imagevarchar(255)YESNULL
phonevarchar(20)YESNULL
company_namevarchar(255)YESNULL
addresstextYESNULL
credit_limitdecimal(12,2)YES0.00
created_attimestampNOcurrent_timestamp()
opening_balancedecimal(12,2)YES0.00
balancedecimal(10,2)YES0.00
opening_balance_datedateYESNULL

Indexes:

Sample Data (First 10 rows):

idtypenameemailimagephonecompany_nameaddresscredit_limitcreated_atopening_balancebalanceopening_balance_date
10investorOwner (Me)NULLNULLNULLNULLNULL0.002026-02-08 23:49:200.000.00NULL
17investordmlkgnsNULLNULLNULL0.002026-02-09 01:00:150.000.00NULL
20investorMubinNULL01793593692NULLNULL0.002026-02-09 23:04:410.000.00NULL
21supplierFahadnfen@iesngis.sogassets/uploads/contacts/698cfc158d32a_cd6194ef.jpg01745258963nenfewdnoujlbnj0.002026-02-10 16:50:410.001000.00NULL
22customerNurassets/uploads/contacts/698cfb7c1ea91_425513f4.jpg01700112233ejf0.002026-02-11 13:11:590.00530.00NULL
📋 expenses 0 rows

Table Structure:

FieldTypeNullKeyDefaultExtra
idint(10) unsignedNOPRIMARYNULLauto_increment
categoryvarchar(100)NONULL
amountdecimal(12,2)NONULL
referencevarchar(100)YESNULL
descriptiontextYESNULL
expense_datedateNOFOREIGNNULL
created_attimestampNOcurrent_timestamp()

Indexes:

⚠️ No data in this table

📋 financial_accounts 3 rows

Table Structure:

FieldTypeNullKeyDefaultExtra
idint(11)NOPRIMARYNULLauto_increment
account_namevarchar(100)NONULL
account_numbervarchar(50)YESNULL
account_typeenum('cash','bank','mobile_banking')NOcash
balancedecimal(15,2)YES0.00
is_activetinyint(1)YES1
created_attimestampNOcurrent_timestamp()
updated_attimestampNOcurrent_timestamp()on update current_timestamp()

Sample Data (First 10 rows):

idaccount_nameaccount_numberaccount_typebalanceis_activecreated_atupdated_at
1Cash DrawerNULLcash486747.0012026-02-09 15:31:482026-02-12 04:32:03
3DBBLNULLbank14.0012026-02-09 23:47:402026-02-11 13:22:02
4BKashNULLmobile_banking0.0012026-02-09 23:50:032026-02-10 16:46:50
📋 financial_transactions 14 rows

Table Structure:

FieldTypeNullKeyDefaultExtra
idint(11)NOPRIMARYNULLauto_increment
financial_account_idint(11)NOFOREIGNNULL
transaction_typeenum('credit','debit')NONULL
amountdecimal(15,2)NONULL
reference_typevarchar(50)YESFOREIGNNULL
reference_idint(11)YESNULL
descriptiontextYESNULL
transaction_datedateNOFOREIGNNULL
created_byint(11)YESNULL
created_attimestampNOcurrent_timestamp()

Indexes:

Sample Data (First 10 rows):

idfinancial_account_idtransaction_typeamountreference_typereference_iddescriptiontransaction_datecreated_bycreated_at
21debit5000.00purchase4Purchase Payment Ref: PO-20260210-14282026-02-1012026-02-10 17:08:45
31credit14.00sale1Sale Payment Ref: INV-20260210-0D1E962026-02-1012026-02-10 17:10:08
41credit500000.00capital_injection1Capital injection - Investor: Initial investment2026-02-1012026-02-10 17:16:06
51debit9900.00purchase6Purchase Payment Ref: PO-20260210-51842026-02-1012026-02-10 17:55:07
61credit153.00sale2Sale Payment Ref: INV-20260211-E14A8C2026-02-1112026-02-11 13:18:06
73credit14.00sale3Sale Payment Ref: INV-20260211-ADB4892026-02-1112026-02-11 13:22:02
81debit35000.00expense1Expense: Other - test2026-02-1112026-02-11 18:18:10
91credit35000.00expense_edit_reversal1Correction: Expense #1 edited (Reversal)2026-02-1112026-02-11 18:18:43
101debit20000.00expense1Expense: Other - test (Updated)2026-02-1112026-02-11 18:18:43
111credit20000.00expense_reversal1Reversal: Deleted expense - Other2026-02-1112026-02-11 18:19:01
📋 payments 9 rows

Table Structure:

FieldTypeNullKeyDefaultExtra
idint(10) unsignedNOPRIMARYNULLauto_increment
payable_typevarchar(50)NOFOREIGNNULL
payable_idint(10) unsignedNONULL
amountdecimal(12,2)NONULL
methodenum('cash','card','bank','mobile')YEScash
paid_atdateNONULL
created_attimestampNOcurrent_timestamp()

Indexes:

Sample Data (First 10 rows):

idpayable_typepayable_idamountmethodpaid_atcreated_at
2purchase45000.00cash2026-02-102026-02-10 17:08:45
3sale114.00cash2026-02-102026-02-10 17:10:08
4purchase69900.00cash2026-02-102026-02-10 17:55:07
5sale2153.00cash2026-02-112026-02-11 13:18:06
6sale314.00card2026-02-112026-02-11 13:22:02
7sale4850.00cash2026-02-112026-02-12 03:24:08
8sale5120.00cash2026-02-112026-02-12 03:26:10
9sale6390.00cash2026-02-112026-02-12 03:42:04
10sale8120.00cash2026-02-112026-02-12 04:32:03
📋 products 22 rows

Table Structure:

FieldTypeNullKeyDefaultExtra
idint(10) unsignedNOPRIMARYNULLauto_increment
namevarchar(255)NONULL
slugvarchar(255)NOUNIQUENULL
skuvarchar(100)NOUNIQUENULL
barcode_symbologyenum('C128','C39','EAN13','EAN8')YESC128
descriptiontextYESNULL
imagevarchar(255)YESNULL
category_idint(10) unsignedYESFOREIGNNULL
supplier_idint(10) unsignedYESFOREIGNNULL
unit_idint(10) unsignedYESFOREIGNNULL
cost_pricedecimal(12,2)YES0.00
selling_pricedecimal(12,2)YES0.00
stock_quantityint(11)YESFOREIGN0
alert_quantityint(11)YES10
gallerylongtextYESNULL
is_activetinyint(1)YES1
created_attimestampNOcurrent_timestamp()
updated_attimestampNOcurrent_timestamp()on update current_timestamp()
commission_ratedecimal(10,2)YES0.00
commission_typeenum('percentage','fixed')YESpercentage

Indexes:

🔗 Foreign Key Relationships:

  • category_id ΓåÆ references categories.id
  • unit_id ΓåÆ references units.id

Sample Data (First 10 rows):

idnameslugskubarcode_symbologydescriptionimagecategory_idsupplier_idunit_idcost_priceselling_pricestock_quantityalert_quantitygalleryis_activecreated_atupdated_atcommission_ratecommission_type
1Samsung Galaxy S23samsung-galaxy-s23SAM-A1B2C3C128Latest Samsung smartphone with 256GB storageNULLNULLNULL165000.0075000.0005NULL02026-02-07 20:02:162026-02-10 16:46:500.00percentage
2iPhone 14 Proiphone-14-proIPH-D4E5F6C128Apple iPhone 14 Pro with 256GBNULLNULLNULL195000.00110000.0005NULL02026-02-07 20:02:162026-02-10 16:46:500.00percentage
3Sony Headphones WH-1000XM5sony-headphones-wh-1000xm5SON-G7H8I9C128Premium noise-cancelling headphonesNULLNULLNULL122000.0028000.00010NULL02026-02-07 20:02:162026-02-10 16:46:500.00percentage
4Nike Air Maxnike-air-maxNIK-J1K2L3EAN13Running shoes - Size 42NULLNULLNULL14500.006500.00015NULL02026-02-07 20:02:162026-02-10 16:46:500.00percentage
5Adidas T-Shirtadidas-t-shirtADI-M4N5O6C39Cotton sports t-shirtNULLNULLNULL1800.001200.00010NULL02026-02-07 20:02:162026-02-10 16:46:500.00percentage
6Coffee Beans Premiumcoffee-beans-premiumCOF-P7Q8R9C128Arabica coffee beansNULLNULLNULL21200.001800.00010NULL02026-02-07 20:02:162026-02-10 16:46:500.00percentage
7Organic Green Teaorganic-green-teaTEA-S1T2U3C128Premium green tea leavesNULLNULLNULL4500.00750.00015NULL02026-02-07 20:02:162026-02-10 16:46:500.00percentage
8Garden Shovelgarden-shovelGAR-V4W5X6C39Heavy-duty gardening shovelNULLNULLNULL1350.00550.0005NULL02026-02-07 20:02:162026-02-10 16:46:500.00percentage
9LED Light Bulbled-light-bulbLED-Y7Z8A9EAN812W energy-saving bulbNULLNULLNULL1150.00250.00020NULL02026-02-07 20:02:162026-02-10 16:46:500.00percentage
10Yoga Matyoga-matYOG-B1C2D3C128Non-slip exercise matNULLNULLNULL1800.001200.00010NULL02026-02-07 20:02:162026-02-10 16:46:500.00percentage
📋 purchase_items 2 rows

Table Structure:

FieldTypeNullKeyDefaultExtra
idint(10) unsignedNOPRIMARYNULLauto_increment
purchase_idint(10) unsignedNOFOREIGNNULL
product_idint(10) unsignedNOFOREIGNNULL
quantityint(11)NONULL
unit_costdecimal(12,2)NONULL
subtotaldecimal(12,2)NONULL

Indexes:

🔗 Foreign Key Relationships:

  • purchase_id ΓåÆ references purchases.id
  • product_id ΓåÆ references products.id

Sample Data (First 10 rows):

idpurchase_idproduct_idquantityunit_costsubtotal
242250100.005000.00
352210100.001000.00
📋 purchases 2 rows

Table Structure:

FieldTypeNullKeyDefaultExtra
idint(10) unsignedNOPRIMARYNULLauto_increment
reference_novarchar(50)NOUNIQUENULL
supplier_idint(10) unsignedYESFOREIGNNULL
purchase_datedateNOFOREIGNNULL
total_amountdecimal(12,2)NONULL
paid_amountdecimal(12,2)YES0.00
agent_commission_percentdecimal(5,2)YES0.00
agent_commission_amountdecimal(10,2)YES0.00
statusenum('received','pending','canceled')YESFOREIGNreceived
created_attimestampNOcurrent_timestamp()

Indexes:

🔗 Foreign Key Relationships:

  • supplier_id ΓåÆ references contacts.id

Sample Data (First 10 rows):

idreference_nosupplier_idpurchase_datetotal_amountpaid_amountagent_commission_percentagent_commission_amountstatuscreated_at
4PO-20260210-1428210000-00-005000.005000.000.000.00received2026-02-10 17:08:45
5PO-20260210-8842210000-00-001000.000.000.000.00received2026-02-10 17:19:18
📋 sale_items 9 rows

Table Structure:

FieldTypeNullKeyDefaultExtra
idint(10) unsignedNOPRIMARYNULLauto_increment
sale_idint(10) unsignedNOFOREIGNNULL
product_idint(10) unsignedNOFOREIGNNULL
quantityint(11)NONULL
unit_pricedecimal(12,2)NONULL
subtotaldecimal(12,2)NONULL
discount_typeenum('percentage','fixed')YESfixed
discount_valuedecimal(12,2)YES0.00
discount_amountdecimal(12,2)YES0.00
commission_amountdecimal(10,2)YES0.00

Indexes:

🔗 Foreign Key Relationships:

  • sale_id ΓåÆ references sales.id
  • product_id ΓåÆ references products.id

Sample Data (First 10 rows):

idsale_idproduct_idquantityunit_pricesubtotaldiscount_typediscount_valuediscount_amountcommission_amount
11223120.00360.00fixed0.000.0018.00
22222120.00220.00fixed10.0020.0011.00
33223120.00360.00fixed0.000.0018.00
44231130.00130.00fixed0.000.000.00
54226120.00720.00fixed0.000.0036.00
65221120.00120.00fixed0.000.006.00
76233130.00390.00fixed0.000.000.00
87231130.00130.00fixed0.000.000.00
98221120.00120.00fixed0.000.006.00
📋 sale_return_items 0 rows

Table Structure:

FieldTypeNullKeyDefaultExtra
idint(10) unsignedNOPRIMARYNULLauto_increment
return_idint(10) unsignedNOFOREIGNNULL
product_idint(10) unsignedNOFOREIGNNULL
quantityint(11)NONULL
unit_pricedecimal(12,2)YESNULL
subtotaldecimal(12,2)YESNULL

Indexes:

🔗 Foreign Key Relationships:

  • return_id ΓåÆ references sale_returns.id
  • product_id ΓåÆ references products.id

⚠️ No data in this table

📋 sale_returns 0 rows

Table Structure:

FieldTypeNullKeyDefaultExtra
idint(10) unsignedNOPRIMARYNULLauto_increment
sale_idint(10) unsignedNOFOREIGNNULL
return_datedateNONULL
total_amountdecimal(12,2)YESNULL
refund_amountdecimal(12,2)YESNULL
statusenum('pending','completed','rejected')YESFOREIGNpending
reasontextYESNULL
created_byint(10) unsignedYESFOREIGNNULL
created_attimestampNOcurrent_timestamp()

Indexes:

🔗 Foreign Key Relationships:

  • sale_id ΓåÆ references sales.id
  • created_by ΓåÆ references users.id

⚠️ No data in this table

📋 sales 8 rows

Table Structure:

FieldTypeNullKeyDefaultExtra
idint(10) unsignedNOPRIMARYNULLauto_increment
reference_novarchar(50)NOUNIQUENULL
customer_idint(10) unsignedYESFOREIGNNULL
sale_datedateNOFOREIGNNULL
total_amountdecimal(12,2)NONULL
tax_amountdecimal(12,2)YES0.00
discount_amountdecimal(12,2)YES0.00
paid_amountdecimal(12,2)YES0.00
staff_commission_percentdecimal(5,2)YES0.00
staff_commission_amountdecimal(10,2)YES0.00
statusenum('completed','pending','canceled')YESFOREIGNcompleted
created_byint(10) unsignedYESFOREIGNNULL
created_attimestampNOcurrent_timestamp()

Indexes:

🔗 Foreign Key Relationships:

  • customer_id ΓåÆ references contacts.id
  • created_by ΓåÆ references users.id

Sample Data (First 10 rows):

idreference_nocustomer_idsale_datetotal_amounttax_amountdiscount_amountpaid_amountstaff_commission_percentstaff_commission_amountstatuscreated_bycreated_at
1INV-20260210-0D1E96NULL2026-02-10414.0054.000.0014.000.000.00completed12026-02-10 17:10:08
2INV-20260211-E14A8CNULL2026-02-11253.0033.000.00153.000.000.00completed12026-02-11 13:18:06
3INV-20260211-ADB489222026-02-11414.0054.000.0014.000.000.00completed12026-02-11 13:22:02
4INV-20260211-8CA7C0222026-02-11850.000.000.00850.000.000.00completed32026-02-12 03:24:08
5INV-20260211-27FB47NULL2026-02-11120.000.000.00120.000.000.00completed32026-02-12 03:26:10
6INV-20260211-C70A78NULL2026-02-11390.000.000.00390.000.000.00completed32026-02-12 03:42:04
7INV-20260211-E0C308222026-02-11130.000.000.000.000.000.00completed32026-02-12 03:42:38
8INV-20260211-34402FNULL2026-02-11120.000.000.00120.000.000.00completed32026-02-12 04:32:03
📋 settings 17 rows

Table Structure:

FieldTypeNullKeyDefaultExtra
idint(10) unsignedNOPRIMARYNULLauto_increment
setting_keyvarchar(50)NOUNIQUENULL
setting_valuetextYESNULL
setting_typeenum('text','number','boolean','json')YEStext
categoryvarchar(50)YESgeneral
updated_byint(11)YESNULL
created_attimestampNOcurrent_timestamp()
updated_attimestampNOcurrent_timestamp()on update current_timestamp()

Indexes:

Sample Data (First 10 rows):

idsetting_keysetting_valuesetting_typecategoryupdated_bycreated_atupdated_at
1company_nameFOrbit' Shoptextgeneral12026-02-08 17:07:022026-02-10 13:07:15
2company_emailadmin@example.comtextgeneral12026-02-08 17:07:022026-02-10 13:07:15
3company_phone01700000000textgeneral12026-02-08 17:07:022026-02-10 13:07:15
4company_addressDhaka, Bangladeshtextgeneral12026-02-08 17:07:022026-02-10 13:07:15
5currency_symbol৳textgeneral12026-02-08 17:07:022026-02-11 18:32:58
6timezoneAsia/Dhakatextgeneral12026-02-08 17:07:022026-02-11 18:32:58
25tax_idtextgeneral12026-02-08 17:11:462026-02-11 18:32:58
26default_tax_rate0textgeneral12026-02-08 17:11:462026-02-11 18:32:58
35company_taglineSmart Business Management Systemtextcompany12026-02-10 11:56:552026-02-10 13:07:15
36company_websitewww.forbitpos.comtextcompany12026-02-10 11:56:552026-02-10 13:07:15
📋 stock_movements 33 rows

Table Structure:

FieldTypeNullKeyDefaultExtra
idint(10) unsignedNOPRIMARYNULLauto_increment
product_idint(10) unsignedNOFOREIGNNULL
typeenum('sale','purchase','return','adjustment')NOFOREIGNNULL
quantityint(11)NONULL
reference_typevarchar(100)YESNULL
reference_idint(10) unsignedYESNULL
descriptionvarchar(255)YESNULL
created_attimestampNOcurrent_timestamp()

Indexes:

🔗 Foreign Key Relationships:

  • product_id ΓåÆ references products.id

Sample Data (First 10 rows):

idproduct_idtypequantityreference_typereference_iddescriptioncreated_at
416adjustment12NULLNULLgsfg2026-02-08 17:04:12
516adjustment6sale_delete15Stock restored from deleted sale2026-02-09 15:17:02
66adjustment1sale_delete15Stock restored from deleted sale2026-02-09 15:17:02
75adjustment4sale_delete14Stock restored from deleted sale2026-02-09 15:17:11
85adjustment1sale_delete13Stock restored from deleted sale2026-02-09 15:17:12
913adjustment5sale_delete12Stock restored from deleted sale2026-02-09 15:17:14
1013adjustment3sale_delete11Stock restored from deleted sale2026-02-09 15:17:16
1113adjustment1sale_delete10Stock restored from deleted sale2026-02-09 15:17:18
1213adjustment1sale_delete9Stock restored from deleted sale2026-02-09 15:17:19
1313adjustment1sale_delete8Stock restored from deleted sale2026-02-09 15:17:20
📋 tax_settings 1 rows

Table Structure:

FieldTypeNullKeyDefaultExtra
idint(10) unsignedNOPRIMARYNULLauto_increment
tax_namevarchar(50)NONULL
tax_ratedecimal(5,2)YES0.00
is_activetinyint(1)YES1
is_defaulttinyint(1)YES0
created_attimestampNOcurrent_timestamp()

Sample Data (First 10 rows):

idtax_nametax_rateis_activeis_defaultcreated_at
1VAT15.00112026-02-08 17:07:02
📋 units 5 rows

Table Structure:

FieldTypeNullKeyDefaultExtra
idint(10) unsignedNOPRIMARYNULLauto_increment
namevarchar(100)NONULL
short_namevarchar(20)YESNULL

Sample Data (First 10 rows):

idnameshort_name
1Piecepc
2Kilogramkg
3LiterL
4Boxbox
5Dozendz
📋 users 3 rows

Table Structure:

FieldTypeNullKeyDefaultExtra
idint(10) unsignedNOPRIMARYNULLauto_increment
namevarchar(255)NONULL
emailvarchar(255)NOUNIQUENULL
passwordvarchar(255)NONULL
roleenum('admin','manager','cashier','staff')YESFOREIGNstaff
imagevarchar(255)YESNULL
is_activetinyint(1)YES1
created_attimestampNOcurrent_timestamp()
updated_attimestampNOcurrent_timestamp()on update current_timestamp()

Indexes:

Sample Data (First 10 rows):

idnameemailpasswordroleimageis_activecreated_atupdated_at
1Admin Useradmin@example.com$2y$10$QP1bLuQDbvwhU1v.D.7yZusBdP2XaDeKeuzUamDeSsXMy/F9OhvPOadminassets/uploads/users/698d005d37e16_a3cd04fe.jpg12026-02-07 20:02:162026-02-12 04:19:09
2Manager Usermanager@example.com$2y$10$hLVdUFOBCDuw8b9fyIGDbuBujOsayf1TbySu1hQKG1KMv15qAjSmGmanagerNULL12026-02-07 20:02:162026-02-07 20:08:01
3Cashier Usercashier@example.com$2y$10$WIq6yqDfwQHOHDqVAORhxuhp/mT0lXmzL.fD2otJ4l69COvR0Pn1Gstaffassets/uploads/users/698d02d6a2c17_bf347914.jpg12026-02-07 20:02:162026-02-12 04:29:42

Generated by Database Export Script | Stan2CD Project

Note: এই output টা copy করে আমাকে দিন, তাহলে আমি আপনার complete database বুঝতে পারব