diff options
| author | Joe Carstairs <me@joeac.net> | 2024-11-17 16:37:38 +0000 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2024-11-17 16:37:38 +0000 |
| commit | 4967cbabfc2fddc903dfaa17b11b2baa006fb218 (patch) | |
| tree | c9672dc18e78e065ec3c0cc26032d4b91df153e9 /rust/actualbudget_models/src/actualbudget_schema.rs | |
| parent | e044c796405c1800289160cb50d295cf2eda76cf (diff) | |
actualbudget queries integration tests
Diffstat (limited to 'rust/actualbudget_models/src/actualbudget_schema.rs')
| -rw-r--r-- | rust/actualbudget_models/src/actualbudget_schema.rs | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/rust/actualbudget_models/src/actualbudget_schema.rs b/rust/actualbudget_models/src/actualbudget_schema.rs index a872231..02907c0 100644 --- a/rust/actualbudget_models/src/actualbudget_schema.rs +++ b/rust/actualbudget_models/src/actualbudget_schema.rs @@ -13,22 +13,29 @@ diesel::table! { } diesel::table! { - transactions (id) { + v_transactions (id) { id -> Text, - #[sql_name = "isParent"] is_parent -> Bool, - #[sql_name = "isChild"] is_child -> Bool, - #[sql_name = "acct"] + parent_id -> Nullable<Text>, + #[sql_name = "account"] account_id -> Text, #[sql_name = "category"] - category_id -> Text, + category_id -> Nullable<Text>, amount -> Integer, - #[sql_name = "description"] - payee -> Text, - notes -> Text, + payee -> Nullable<Text>, + notes -> Nullable<Text>, date -> Integer, - parent_id -> Nullable<Text>, + // imported_id -> Text, + // error -> Text, + // imported_payee -> Text, + // starting_balance_flag -> Integer, + // transfer_id -> Text, + // sort_order -> Real, + // cleared -> Integer, + // reconciled -> Integer, + // tombstone -> Integer, + // schedule -> Text, } } |
