データベースルールにowner_typeとis_canceledを追加し、is_businessを廃止。Expenseモデルと関連するマイグレーションを実施。明細編集UIをowner_type選択に更新し、取り消し済みの経費を一覧から除外。作業ログをdiary.mdに追記。
This commit is contained in:
3
仕様書.md
3
仕様書.md
@@ -57,12 +57,13 @@
|
||||
* amount(金額)
|
||||
* store_id(店舗区分、NULL可)
|
||||
* expense_category_id(経費区分、NULL可)
|
||||
* is_business(会社経費 / 家計フラグ、NULL可)
|
||||
* owner_type(company/personal/pending)
|
||||
* note(備考)
|
||||
* source(CSV種別:idemitsu 等)
|
||||
* source_hash(行ハッシュ)
|
||||
* ai_score(将来用、NULL可)
|
||||
* human_confirmed(人間確定フラグ)
|
||||
* is_canceled(取り消しフラグ)
|
||||
* created_at / updated_at
|
||||
|
||||
UNIQUE(source, source_hash)
|
||||
|
||||
Reference in New Issue
Block a user