Payments table created successfully.
Added paid_amount to sales table.
Added paid_amount to purchases table.
Added description column to sale_items table.
Added invoice_type to sales table.
Added discount_type to sales table.
Added MRP column to sale_items table.
Added discount_value column to sale_items table.
Added discount_type column to sale_items table.
Product_units table created successfully.
Added unit column to sale_items table.
Added pieces_per_unit column to sale_items table.
Added unit column to purchase_items table.
Added pieces_per_unit column to purchase_items table.
Error adding bank_name to company_settings: Table 'gihqlrqhmd_propbill.company_settings' doesn't exist
Error adding bank_branch to company_settings: Table 'gihqlrqhmd_propbill.company_settings' doesn't exist
Error adding account_number to company_settings: Table 'gihqlrqhmd_propbill.company_settings' doesn't exist
Error adding ifsc_code to company_settings: Table 'gihqlrqhmd_propbill.company_settings' doesn't exist
Dropped old debit_credit_note_items table.
Dropped old debit_credit_notes table.
debit_credit_notes table created successfully.
Database updates completed.