# Database migrations

Place versioned `.sql` files here. The installer/updater runs them in sorted order
and records each filename in table `schema_migrations` so they run only once.

Naming example:
  20260802_add_inbound_ids.sql
  20260815_discounts_created_by.sql

Rules:
- Prefer ADD COLUMN / CREATE TABLE IF NOT EXISTS
- Avoid DROP COLUMN on production data unless intentional
- Keep statements idempotent when possible
