From c2e8252f5e963e8c68d7124742f3c1bdf61a083f Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Wed, 27 Nov 2024 19:47:36 +0000 Subject: AccountTransfer model --- rust/schist_models/src/schema.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'rust/schist_models/src/schema.rs') diff --git a/rust/schist_models/src/schema.rs b/rust/schist_models/src/schema.rs index 5164d07..1dd1391 100644 --- a/rust/schist_models/src/schema.rs +++ b/rust/schist_models/src/schema.rs @@ -1,5 +1,16 @@ // @generated automatically by Diesel CLI. +diesel::table! { + account_transfers (id) { + id -> Integer, + date -> Text, + description -> Text, + quantity -> Integer, + from_account_id -> Integer, + to_account_id -> Integer, + } +} + diesel::table! { accounts (id) { id -> Integer, @@ -67,6 +78,7 @@ diesel::joinable!(transaction_categorisations -> transactions (transaction_id)); diesel::joinable!(transactions -> accounts (account_id)); diesel::allow_tables_to_appear_in_same_query!( + account_transfers, accounts, budget_drips, categories, -- cgit v1.2.3