diff --git a/.sqlx/query-4c00c0c5726aed16c1fe61772b735bf41fbd392c26633d012b741340df6d8cd7.json b/.sqlx/query-1702c44f504d19d16a6c0bc94880d74f35754dbd22150337a02caaa304e3e2e6.json similarity index 90% rename from .sqlx/query-4c00c0c5726aed16c1fe61772b735bf41fbd392c26633d012b741340df6d8cd7.json rename to .sqlx/query-1702c44f504d19d16a6c0bc94880d74f35754dbd22150337a02caaa304e3e2e6.json index 1efd154..beba25e 100644 --- a/.sqlx/query-4c00c0c5726aed16c1fe61772b735bf41fbd392c26633d012b741340df6d8cd7.json +++ b/.sqlx/query-1702c44f504d19d16a6c0bc94880d74f35754dbd22150337a02caaa304e3e2e6.json @@ -1,6 +1,6 @@ { "db_name": "PostgreSQL", - "query": "\n UPDATE expenses SET\n description = COALESCE($1, description),\n price = COALESCE($2, price),\n category = COALESCE($3 :: expense_category, category),\n is_essential = COALESCE($4, is_essential),\n date = COALESCE($5, date)\n WHERE uuid = $6 AND user_id = $7\n and deleted_at is null\n RETURNING id, description, price, category as \"category: ExpenseCategory\", is_essential, date, uuid\n ", + "query": "\n UPDATE expenses SET\n description = COALESCE($1, description),\n price = COALESCE($2, price),\n category = COALESCE($3 :: expense_category, category),\n is_essential = COALESCE($4, is_essential),\n date = COALESCE($5, date)\n WHERE uuid = $6 AND user_id = $7\n and deleted_at is null\n RETURNING id, description, price, category as \"category: ExpenseCategory\", is_essential, date, uuid, bank_source\n ", "describe": { "columns": [ { @@ -57,6 +57,11 @@ "ordinal": 6, "name": "uuid", "type_info": "Uuid" + }, + { + "ordinal": 7, + "name": "bank_source", + "type_info": "Text" } ], "parameters": { @@ -97,8 +102,9 @@ true, false, false, - false + false, + true ] }, - "hash": "4c00c0c5726aed16c1fe61772b735bf41fbd392c26633d012b741340df6d8cd7" + "hash": "1702c44f504d19d16a6c0bc94880d74f35754dbd22150337a02caaa304e3e2e6" } diff --git a/.sqlx/query-9dd2025bdc87c1f068851d68188fddcb23f779e6be43c91114cd9d033336b2f1.json b/.sqlx/query-45789dbf10dd558cb9b2cb9807ad90a1dbbce7bf394be4ce102e96a62aa10737.json similarity index 77% rename from .sqlx/query-9dd2025bdc87c1f068851d68188fddcb23f779e6be43c91114cd9d033336b2f1.json rename to .sqlx/query-45789dbf10dd558cb9b2cb9807ad90a1dbbce7bf394be4ce102e96a62aa10737.json index 35e67a5..28371ef 100644 --- a/.sqlx/query-9dd2025bdc87c1f068851d68188fddcb23f779e6be43c91114cd9d033336b2f1.json +++ b/.sqlx/query-45789dbf10dd558cb9b2cb9807ad90a1dbbce7bf394be4ce102e96a62aa10737.json @@ -1,6 +1,6 @@ { "db_name": "PostgreSQL", - "query": "SELECT id, description, price, category as \"category: ExpenseCategory\", is_essential, date, uuid\n FROM expenses\n WHERE ((date >= $1) OR ($1 IS NULL))\n AND ((date <= $2) OR ($2 IS NULL))\n AND user_id = $3\n and deleted_at is null", + "query": "SELECT id, description, price, category as \"category: ExpenseCategory\", is_essential, date, uuid, bank_source\n FROM expenses\n WHERE ((date >= $1) OR ($1 IS NULL))\n AND ((date <= $2) OR ($2 IS NULL))\n AND user_id = $3\n and deleted_at is null", "describe": { "columns": [ { @@ -57,6 +57,11 @@ "ordinal": 6, "name": "uuid", "type_info": "Uuid" + }, + { + "ordinal": 7, + "name": "bank_source", + "type_info": "Text" } ], "parameters": { @@ -73,8 +78,9 @@ true, false, false, - false + false, + true ] }, - "hash": "9dd2025bdc87c1f068851d68188fddcb23f779e6be43c91114cd9d033336b2f1" + "hash": "45789dbf10dd558cb9b2cb9807ad90a1dbbce7bf394be4ce102e96a62aa10737" } diff --git a/.sqlx/query-ac8c51d1316f7120d56b03c8881b997e8e55d73db7af45519acc176364feb4d4.json b/.sqlx/query-8dddda06cc45929492684b72913321b64371340fbc2fbd7eb330bf0505351b4a.json similarity index 80% rename from .sqlx/query-ac8c51d1316f7120d56b03c8881b997e8e55d73db7af45519acc176364feb4d4.json rename to .sqlx/query-8dddda06cc45929492684b72913321b64371340fbc2fbd7eb330bf0505351b4a.json index 6c6c3df..0da3772 100644 --- a/.sqlx/query-ac8c51d1316f7120d56b03c8881b997e8e55d73db7af45519acc176364feb4d4.json +++ b/.sqlx/query-8dddda06cc45929492684b72913321b64371340fbc2fbd7eb330bf0505351b4a.json @@ -1,6 +1,6 @@ { "db_name": "PostgreSQL", - "query": "SELECT id, description, price, category as \"category: ExpenseCategory\", is_essential, date, uuid\n FROM expenses\n WHERE uuid = $1 AND user_id = $2\n and deleted_at is null\n ", + "query": "SELECT id, description, price, category as \"category: ExpenseCategory\", is_essential, date, uuid, bank_source\n FROM expenses\n WHERE uuid = $1 AND user_id = $2\n and deleted_at is null\n ", "describe": { "columns": [ { @@ -57,6 +57,11 @@ "ordinal": 6, "name": "uuid", "type_info": "Uuid" + }, + { + "ordinal": 7, + "name": "bank_source", + "type_info": "Text" } ], "parameters": { @@ -72,8 +77,9 @@ true, false, false, - false + false, + true ] }, - "hash": "ac8c51d1316f7120d56b03c8881b997e8e55d73db7af45519acc176364feb4d4" + "hash": "8dddda06cc45929492684b72913321b64371340fbc2fbd7eb330bf0505351b4a" }