Migrations
Migrations are managed with Alembic from thebackend/ directory.
30b88a230f5d_initial_tables) creates all tables.
Database Engine Settings
Master Tables
clients
karigars
polishers
bank_accounts
bullion_accounts
Transaction Tables
Each party (client, karigar, polisher, bank, bullion) follows the same three-table pattern:{party}_ledger_rows
{party}_ledger_in_section_entries
{party}_ledger_out_section_entries — Same structure as IN entries, for outgoing transactions.