From cff89d43479ff4640d87aa643050a48a4a6e1fb4 Mon Sep 17 00:00:00 2001 From: Jannis Pohlmann Date: Tue, 10 Oct 2023 14:26:06 +0200 Subject: [PATCH] chore: update files for sqlx offline mode --- ...edc4204bbbd32aac6f7da7e99fb501ca5cc14.json | 32 +++++++++++++++++++ ...5685daaed836ef4c927afd8ae7e2804d4a9fd.json | 15 --------- ...1732bb3638a3a4f942a665cf1fd38eb70c2d.json} | 8 +++-- ...51e43b6b9ffe9834df85a62707d3a2d051b4.json} | 4 +-- ...651cfd94b4b82f26baf0755efa80e6045c0a.json} | 4 +-- ...893b4f7209c985c367215b2eed25adc78c462.json | 15 +++++++++ 6 files changed, 56 insertions(+), 22 deletions(-) create mode 100644 .sqlx/query-842bde7fba1c7652b7cfc2dc568edc4204bbbd32aac6f7da7e99fb501ca5cc14.json delete mode 100644 .sqlx/query-88901c4779fdd2c4653a2f0544a5685daaed836ef4c927afd8ae7e2804d4a9fd.json rename .sqlx/{query-7a3adab989a9552349dea7dbd52bcbdb40e034ee610c786a2111c493939e7e94.json => query-b54b1069daf03a377a0e7c09c9aa1732bb3638a3a4f942a665cf1fd38eb70c2d.json} (70%) rename .sqlx/{query-a3b0fb77cb7760254342dac981bc2f9c19f96fb5748629ebf0498d3820179d97.json => query-d93dd26d7221c5e1ae15a919a2a651e43b6b9ffe9834df85a62707d3a2d051b4.json} (77%) rename .sqlx/{query-1ae5d2aa752bf2e9038455d7c643bba03daa9e26c7ad23f48f9959a120e28a84.json => query-e14503b633fc673b65448e70c204651cfd94b4b82f26baf0755efa80e6045c0a.json} (79%) create mode 100644 .sqlx/query-ef6affb9039ad19a69f4a5116d7893b4f7209c985c367215b2eed25adc78c462.json diff --git a/.sqlx/query-842bde7fba1c7652b7cfc2dc568edc4204bbbd32aac6f7da7e99fb501ca5cc14.json b/.sqlx/query-842bde7fba1c7652b7cfc2dc568edc4204bbbd32aac6f7da7e99fb501ca5cc14.json new file mode 100644 index 00000000..2b0cde21 --- /dev/null +++ b/.sqlx/query-842bde7fba1c7652b7cfc2dc568edc4204bbbd32aac6f7da7e99fb501ca5cc14.json @@ -0,0 +1,32 @@ +{ + "db_name": "PostgreSQL", + "query": "\n SELECT deployment, model, variables\n FROM \"CostModels\"\n WHERE deployment != 'global'\n ORDER BY deployment ASC\n ", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "deployment", + "type_info": "Varchar" + }, + { + "ordinal": 1, + "name": "model", + "type_info": "Text" + }, + { + "ordinal": 2, + "name": "variables", + "type_info": "Jsonb" + } + ], + "parameters": { + "Left": [] + }, + "nullable": [ + false, + true, + true + ] + }, + "hash": "842bde7fba1c7652b7cfc2dc568edc4204bbbd32aac6f7da7e99fb501ca5cc14" +} diff --git a/.sqlx/query-88901c4779fdd2c4653a2f0544a5685daaed836ef4c927afd8ae7e2804d4a9fd.json b/.sqlx/query-88901c4779fdd2c4653a2f0544a5685daaed836ef4c927afd8ae7e2804d4a9fd.json deleted file mode 100644 index 3e1e0bb1..00000000 --- a/.sqlx/query-88901c4779fdd2c4653a2f0544a5685daaed836ef4c927afd8ae7e2804d4a9fd.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "db_name": "PostgreSQL", - "query": "\n INSERT INTO \"CostModels\" (deployment, model)\n VALUES ($1, $2);\n ", - "describe": { - "columns": [], - "parameters": { - "Left": [ - "Varchar", - "Text" - ] - }, - "nullable": [] - }, - "hash": "88901c4779fdd2c4653a2f0544a5685daaed836ef4c927afd8ae7e2804d4a9fd" -} diff --git a/.sqlx/query-7a3adab989a9552349dea7dbd52bcbdb40e034ee610c786a2111c493939e7e94.json b/.sqlx/query-b54b1069daf03a377a0e7c09c9aa1732bb3638a3a4f942a665cf1fd38eb70c2d.json similarity index 70% rename from .sqlx/query-7a3adab989a9552349dea7dbd52bcbdb40e034ee610c786a2111c493939e7e94.json rename to .sqlx/query-b54b1069daf03a377a0e7c09c9aa1732bb3638a3a4f942a665cf1fd38eb70c2d.json index 6b00cac1..7dbd0863 100644 --- a/.sqlx/query-7a3adab989a9552349dea7dbd52bcbdb40e034ee610c786a2111c493939e7e94.json +++ b/.sqlx/query-b54b1069daf03a377a0e7c09c9aa1732bb3638a3a4f942a665cf1fd38eb70c2d.json @@ -1,6 +1,6 @@ { "db_name": "PostgreSQL", - "query": "\n SELECT deployment, model, variables\n FROM \"CostModels\"\n ORDER BY deployment ASC\n ", + "query": "\n SELECT deployment, model, variables\n FROM \"CostModels\"\n WHERE deployment = $1\n AND deployment != 'global'\n ", "describe": { "columns": [ { @@ -20,7 +20,9 @@ } ], "parameters": { - "Left": [] + "Left": [ + "Text" + ] }, "nullable": [ false, @@ -28,5 +30,5 @@ true ] }, - "hash": "7a3adab989a9552349dea7dbd52bcbdb40e034ee610c786a2111c493939e7e94" + "hash": "b54b1069daf03a377a0e7c09c9aa1732bb3638a3a4f942a665cf1fd38eb70c2d" } diff --git a/.sqlx/query-a3b0fb77cb7760254342dac981bc2f9c19f96fb5748629ebf0498d3820179d97.json b/.sqlx/query-d93dd26d7221c5e1ae15a919a2a651e43b6b9ffe9834df85a62707d3a2d051b4.json similarity index 77% rename from .sqlx/query-a3b0fb77cb7760254342dac981bc2f9c19f96fb5748629ebf0498d3820179d97.json rename to .sqlx/query-d93dd26d7221c5e1ae15a919a2a651e43b6b9ffe9834df85a62707d3a2d051b4.json index 2b11d524..6b2da69c 100644 --- a/.sqlx/query-a3b0fb77cb7760254342dac981bc2f9c19f96fb5748629ebf0498d3820179d97.json +++ b/.sqlx/query-d93dd26d7221c5e1ae15a919a2a651e43b6b9ffe9834df85a62707d3a2d051b4.json @@ -1,6 +1,6 @@ { "db_name": "PostgreSQL", - "query": "\n SELECT deployment, model, variables\n FROM \"CostModels\"\n WHERE deployment = ANY($1)\n ORDER BY deployment ASC\n ", + "query": "\n SELECT deployment, model, variables\n FROM \"CostModels\"\n WHERE deployment = ANY($1)\n AND deployment != 'global'\n ORDER BY deployment ASC\n ", "describe": { "columns": [ { @@ -30,5 +30,5 @@ true ] }, - "hash": "a3b0fb77cb7760254342dac981bc2f9c19f96fb5748629ebf0498d3820179d97" + "hash": "d93dd26d7221c5e1ae15a919a2a651e43b6b9ffe9834df85a62707d3a2d051b4" } diff --git a/.sqlx/query-1ae5d2aa752bf2e9038455d7c643bba03daa9e26c7ad23f48f9959a120e28a84.json b/.sqlx/query-e14503b633fc673b65448e70c204651cfd94b4b82f26baf0755efa80e6045c0a.json similarity index 79% rename from .sqlx/query-1ae5d2aa752bf2e9038455d7c643bba03daa9e26c7ad23f48f9959a120e28a84.json rename to .sqlx/query-e14503b633fc673b65448e70c204651cfd94b4b82f26baf0755efa80e6045c0a.json index ca7766a0..61996727 100644 --- a/.sqlx/query-1ae5d2aa752bf2e9038455d7c643bba03daa9e26c7ad23f48f9959a120e28a84.json +++ b/.sqlx/query-e14503b633fc673b65448e70c204651cfd94b4b82f26baf0755efa80e6045c0a.json @@ -1,6 +1,6 @@ { "db_name": "PostgreSQL", - "query": "\n SELECT deployment, model, variables\n FROM \"CostModels\"\n WHERE deployment = $1\n ", + "query": "\n SELECT deployment, model, variables\n FROM \"CostModels\"\n WHERE deployment = $1\n ", "describe": { "columns": [ { @@ -30,5 +30,5 @@ true ] }, - "hash": "1ae5d2aa752bf2e9038455d7c643bba03daa9e26c7ad23f48f9959a120e28a84" + "hash": "e14503b633fc673b65448e70c204651cfd94b4b82f26baf0755efa80e6045c0a" } diff --git a/.sqlx/query-ef6affb9039ad19a69f4a5116d7893b4f7209c985c367215b2eed25adc78c462.json b/.sqlx/query-ef6affb9039ad19a69f4a5116d7893b4f7209c985c367215b2eed25adc78c462.json new file mode 100644 index 00000000..0c8cfd91 --- /dev/null +++ b/.sqlx/query-ef6affb9039ad19a69f4a5116d7893b4f7209c985c367215b2eed25adc78c462.json @@ -0,0 +1,15 @@ +{ + "db_name": "PostgreSQL", + "query": "\n INSERT INTO \"CostModels\" (deployment, model)\n VALUES ($1, $2);\n ", + "describe": { + "columns": [], + "parameters": { + "Left": [ + "Varchar", + "Text" + ] + }, + "nullable": [] + }, + "hash": "ef6affb9039ad19a69f4a5116d7893b4f7209c985c367215b2eed25adc78c462" +}