diff options
Diffstat (limited to 'rust/schist_models/src/schema.rs')
| -rw-r--r-- | rust/schist_models/src/schema.rs | 12 |
1 files changed, 12 insertions, 0 deletions
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,6 +1,17 @@ // @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, name -> Text, @@ -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, |
