Commit 0694f4a
committed
- **Added new fields to
- Introduced `matched_transaction_model` as a One-to-One field linked to `TransactionModel`.
- Added `matched_transaction` BooleanField indicating if a transaction is matched.
- Added `notes` TextField for storing additional transaction details.
- **Indexes and field updates:**
- Added an index on `matched_transaction_model` for optimized lookups.
- Updated `transaction_model` field to enhance its definition.
- **Altered `JournalEntryModel`:**
- Adjusted the `description` field to allow optional entries with a maximum length of 120 characters.
### **Summary**
Introduced enhanced fields in `StagedTransactionModel`, including transaction matching, notes, and indexing for better transaction workflows. Updated `JournalEntryModel` description field for flexibility and optional usage.
### **Backwards Compatibility**
These changes are backwards compatible; legacy workflows will not be impacted.StagedTransactionModel:**1 parent 204ec14 commit 0694f4a
File tree
2 files changed
+56
-0
lines changed- django_ledger/migrations
2 files changed
+56
-0
lines changedLines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
0 commit comments