Refactored src and dst account to just account in preparation for a "counter party", instead of a full account.

This commit is contained in:
2026-10-03 20:33:13 +02:00
parent 221c38d364
commit 896b192c01
29 changed files with 535 additions and 422 deletions
@@ -4,10 +4,9 @@ use uuid::Uuid;
pub struct RecurringTransactionRow {
pub id: Uuid,
pub name: String,
pub account_id: Uuid,
pub amount_cents: i64,
pub direction: String,
pub source_account_id: Option<Uuid>,
pub destination_account_id: Option<Uuid>,
pub starts_at: DateTime<Utc>,
pub ends_at: Option<DateTime<Utc>>,
pub recurrence_every: i32,
+2 -1
View File
@@ -3,8 +3,9 @@ use uuid::Uuid;
pub struct TransactionRow {
pub id: Uuid,
pub description: String,
pub account_id: Uuid,
pub amount_cents: i64,
pub direction: String,
pub date: DateTime<Utc>,
pub description: String,
}