3 Commits

Author SHA1 Message Date
ymq
a7c83fadc5 fix(models): 账务表补多币种字段(currency/exchange_rate/base_amount)
get_user_currency 查 account.currency 报 Unknown column——migration SQL 给 5 张账务表
加了多币种列但 models json 未同步。逐表对齐 multi_currency_migration.sql:
- account: +currency
- bill: +currency +base_amount
- bill_detail/ledger/acc_detail: +currency +exchange_rate +base_amount
2026-08-26 17:49:31 +08:00
af10e4a810 refactor(models): convert to json format per database-table-definition-spec 2026-05-27 13:23:22 +08:00
9fe2b31407 feat: add json table definitions for all models (converted from xlsx) 2026-05-21 12:46:36 +08:00