diff options
| author | Joe Carstairs <me@joeac.net> | 2024-11-17 12:16:19 +0000 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2024-11-17 12:20:48 +0000 |
| commit | 99fa72e2b9d572e00cd232bd55a3fa24722c3134 (patch) | |
| tree | 6b50ce600fffa07a0c21b7f14d2447fe5ac3c2ed /rust/actualbudget_importer/src/schema.rs | |
| parent | 10f071447594f2bdcec84a461df9ad648f71f44b (diff) | |
Refactors workspace
Diffstat (limited to 'rust/actualbudget_importer/src/schema.rs')
| -rw-r--r-- | rust/actualbudget_importer/src/schema.rs | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/rust/actualbudget_importer/src/schema.rs b/rust/actualbudget_importer/src/schema.rs deleted file mode 100644 index a872231..0000000 --- a/rust/actualbudget_importer/src/schema.rs +++ /dev/null @@ -1,47 +0,0 @@ -diesel::table! { - accounts (id) { - id -> Text, - name -> Text, - } -} - -diesel::table! { - categories (id) { - id -> Text, - name -> Text, - } -} - -diesel::table! { - transactions (id) { - id -> Text, - #[sql_name = "isParent"] - is_parent -> Bool, - #[sql_name = "isChild"] - is_child -> Bool, - #[sql_name = "acct"] - account_id -> Text, - #[sql_name = "category"] - category_id -> Text, - amount -> Integer, - #[sql_name = "description"] - payee -> Text, - notes -> Text, - date -> Integer, - parent_id -> Nullable<Text>, - } -} - -diesel::table! { - zero_budgets (id) { - id -> Text, - month -> Integer, - #[sql_name = "category"] - category_id -> Text, - amount -> Integer, - #[sql_name = "carryover"] - do_carry_over -> Integer, - // goal -> Integer, - // long_goal -> Integer, - } -} |
