From 5b2eccf7e42ff4c1fb7f43f38f7e939df566d8b2 Mon Sep 17 00:00:00 2001 From: Niko Date: Mon, 15 Apr 2024 15:09:58 -0600 Subject: [PATCH] `cargo sqlx prepare` --- ...7a65297d10321ae6424781b2ee3ffa4f0875.json} | 6 ++-- ...83a9e644f3f8ef69f3e02646b35595dc1778d.json | 14 ---------- ...c418d59ad7ad244bc9dd365691676611ea9c0.json | 14 ---------- ...e3c3a7a019eb3e51bf7411a3a2fa2c7309103.json | 28 ------------------- 4 files changed, 3 insertions(+), 59 deletions(-) rename .sqlx/{query-1135b1c76124366a00e15e2b116e6a48c512f5cc01d419230018fa8db5dc72a3.json => query-4960a52935c26aa885840fd942467a65297d10321ae6424781b2ee3ffa4f0875.json} (58%) delete mode 100644 .sqlx/query-9b61c658f0c2161fc27b69a9fa283a9e644f3f8ef69f3e02646b35595dc1778d.json delete mode 100644 .sqlx/query-b8ad087658902b86ec125e97690c418d59ad7ad244bc9dd365691676611ea9c0.json delete mode 100644 .sqlx/query-d1bfd0c3d6b8af6a92e7cd8de9ee3c3a7a019eb3e51bf7411a3a2fa2c7309103.json diff --git a/.sqlx/query-1135b1c76124366a00e15e2b116e6a48c512f5cc01d419230018fa8db5dc72a3.json b/.sqlx/query-4960a52935c26aa885840fd942467a65297d10321ae6424781b2ee3ffa4f0875.json similarity index 58% rename from .sqlx/query-1135b1c76124366a00e15e2b116e6a48c512f5cc01d419230018fa8db5dc72a3.json rename to .sqlx/query-4960a52935c26aa885840fd942467a65297d10321ae6424781b2ee3ffa4f0875.json index 3bfe6640..6095f648 100644 --- a/.sqlx/query-1135b1c76124366a00e15e2b116e6a48c512f5cc01d419230018fa8db5dc72a3.json +++ b/.sqlx/query-4960a52935c26aa885840fd942467a65297d10321ae6424781b2ee3ffa4f0875.json @@ -1,11 +1,11 @@ { "db_name": "PostgreSQL", - "query": "SELECT agreed_tos FROM guilds WHERE guild_id = $1", + "query": "SELECT trial_used FROM guilds WHERE guild_id = $1", "describe": { "columns": [ { "ordinal": 0, - "name": "agreed_tos", + "name": "trial_used", "type_info": "Bool" } ], @@ -18,5 +18,5 @@ false ] }, - "hash": "1135b1c76124366a00e15e2b116e6a48c512f5cc01d419230018fa8db5dc72a3" + "hash": "4960a52935c26aa885840fd942467a65297d10321ae6424781b2ee3ffa4f0875" } diff --git a/.sqlx/query-9b61c658f0c2161fc27b69a9fa283a9e644f3f8ef69f3e02646b35595dc1778d.json b/.sqlx/query-9b61c658f0c2161fc27b69a9fa283a9e644f3f8ef69f3e02646b35595dc1778d.json deleted file mode 100644 index 98eb3a01..00000000 --- a/.sqlx/query-9b61c658f0c2161fc27b69a9fa283a9e644f3f8ef69f3e02646b35595dc1778d.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "db_name": "PostgreSQL", - "query": "UPDATE guilds SET agreed_tos = true WHERE guild_id = $1", - "describe": { - "columns": [], - "parameters": { - "Left": [ - "Int8" - ] - }, - "nullable": [] - }, - "hash": "9b61c658f0c2161fc27b69a9fa283a9e644f3f8ef69f3e02646b35595dc1778d" -} diff --git a/.sqlx/query-b8ad087658902b86ec125e97690c418d59ad7ad244bc9dd365691676611ea9c0.json b/.sqlx/query-b8ad087658902b86ec125e97690c418d59ad7ad244bc9dd365691676611ea9c0.json deleted file mode 100644 index ef389c57..00000000 --- a/.sqlx/query-b8ad087658902b86ec125e97690c418d59ad7ad244bc9dd365691676611ea9c0.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "db_name": "PostgreSQL", - "query": "INSERT INTO guilds (guild_id) VALUES ($1) ON CONFLICT ON CONSTRAINT guilds_pkey DO NOTHING", - "describe": { - "columns": [], - "parameters": { - "Left": [ - "Int8" - ] - }, - "nullable": [] - }, - "hash": "b8ad087658902b86ec125e97690c418d59ad7ad244bc9dd365691676611ea9c0" -} diff --git a/.sqlx/query-d1bfd0c3d6b8af6a92e7cd8de9ee3c3a7a019eb3e51bf7411a3a2fa2c7309103.json b/.sqlx/query-d1bfd0c3d6b8af6a92e7cd8de9ee3c3a7a019eb3e51bf7411a3a2fa2c7309103.json deleted file mode 100644 index b1f92239..00000000 --- a/.sqlx/query-d1bfd0c3d6b8af6a92e7cd8de9ee3c3a7a019eb3e51bf7411a3a2fa2c7309103.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "db_name": "PostgreSQL", - "query": "SELECT trial_used, agreed_tos FROM guilds WHERE guild_id = $1", - "describe": { - "columns": [ - { - "ordinal": 0, - "name": "trial_used", - "type_info": "Bool" - }, - { - "ordinal": 1, - "name": "agreed_tos", - "type_info": "Bool" - } - ], - "parameters": { - "Left": [ - "Int8" - ] - }, - "nullable": [ - false, - false - ] - }, - "hash": "d1bfd0c3d6b8af6a92e7cd8de9ee3c3a7a019eb3e51bf7411a3a2fa2c7309103" -}