diff options
| author | Joe Carstairs <me@joeac.net> | 2024-11-27 19:47:36 +0000 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2024-11-28 23:10:53 +0000 |
| commit | c2e8252f5e963e8c68d7124742f3c1bdf61a083f (patch) | |
| tree | 0d85e9394d90994f1757b9b1cc23780aef55f8fd /rust/schist_models/src/schema.rs | |
| parent | 817f6cb7e48e2517dd1612c14357d9aa066a9e53 (diff) | |
AccountTransfer model
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, |
