From e4e50c1c2f539d33983964ccadf658f7f79159f8 Mon Sep 17 00:00:00 2001 From: valkyrie_pilot Date: Thu, 2 Jan 2025 19:03:00 -0700 Subject: [PATCH] Try to fix sqlx, again --- ...862408bfeb6e7ac474e948729bcf201e4e04d.json | 21 +++++++ ...63e422ad74f8f450173ab97be52a7be671535.json | 58 +++++++++++++++++++ ...17f2ac2a2c5ecfa0961158fb66ad2e29acbee.json | 23 ++++++++ 3 files changed, 102 insertions(+) create mode 100644 .sqlx/query-0b0ec308b3ae11adf184a5815ff862408bfeb6e7ac474e948729bcf201e4e04d.json create mode 100644 .sqlx/query-197f9be1a027b284f8bd920b6c463e422ad74f8f450173ab97be52a7be671535.json create mode 100644 .sqlx/query-391dddb21dd6cb6c94d9716c97c17f2ac2a2c5ecfa0961158fb66ad2e29acbee.json diff --git a/.sqlx/query-0b0ec308b3ae11adf184a5815ff862408bfeb6e7ac474e948729bcf201e4e04d.json b/.sqlx/query-0b0ec308b3ae11adf184a5815ff862408bfeb6e7ac474e948729bcf201e4e04d.json new file mode 100644 index 0000000..7ebd58c --- /dev/null +++ b/.sqlx/query-0b0ec308b3ae11adf184a5815ff862408bfeb6e7ac474e948729bcf201e4e04d.json @@ -0,0 +1,21 @@ +{ + "db_name": "PostgreSQL", + "query": "INSERT INTO audit_logs (guild_id, user_id, moderator,\n timestamp, previous, delta, reset, set)\n VALUES ($1, $2, $3, $4, $5, $6, $7, $8)", + "describe": { + "columns": [], + "parameters": { + "Left": [ + "Int8", + "Int8", + "Int8", + "Int8", + "Int8", + "Int8", + "Bool", + "Bool" + ] + }, + "nullable": [] + }, + "hash": "0b0ec308b3ae11adf184a5815ff862408bfeb6e7ac474e948729bcf201e4e04d" +} diff --git a/.sqlx/query-197f9be1a027b284f8bd920b6c463e422ad74f8f450173ab97be52a7be671535.json b/.sqlx/query-197f9be1a027b284f8bd920b6c463e422ad74f8f450173ab97be52a7be671535.json new file mode 100644 index 0000000..fc6fdc9 --- /dev/null +++ b/.sqlx/query-197f9be1a027b284f8bd920b6c463e422ad74f8f450173ab97be52a7be671535.json @@ -0,0 +1,58 @@ +{ + "db_name": "PostgreSQL", + "query": "SELECT user_id, moderator,\n timestamp, previous, delta, reset, set\n FROM audit_logs WHERE guild_id = $1", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "user_id", + "type_info": "Int8" + }, + { + "ordinal": 1, + "name": "moderator", + "type_info": "Int8" + }, + { + "ordinal": 2, + "name": "timestamp", + "type_info": "Int8" + }, + { + "ordinal": 3, + "name": "previous", + "type_info": "Int8" + }, + { + "ordinal": 4, + "name": "delta", + "type_info": "Int8" + }, + { + "ordinal": 5, + "name": "reset", + "type_info": "Bool" + }, + { + "ordinal": 6, + "name": "set", + "type_info": "Bool" + } + ], + "parameters": { + "Left": [ + "Int8" + ] + }, + "nullable": [ + false, + false, + false, + false, + false, + false, + false + ] + }, + "hash": "197f9be1a027b284f8bd920b6c463e422ad74f8f450173ab97be52a7be671535" +} diff --git a/.sqlx/query-391dddb21dd6cb6c94d9716c97c17f2ac2a2c5ecfa0961158fb66ad2e29acbee.json b/.sqlx/query-391dddb21dd6cb6c94d9716c97c17f2ac2a2c5ecfa0961158fb66ad2e29acbee.json new file mode 100644 index 0000000..fb29346 --- /dev/null +++ b/.sqlx/query-391dddb21dd6cb6c94d9716c97c17f2ac2a2c5ecfa0961158fb66ad2e29acbee.json @@ -0,0 +1,23 @@ +{ + "db_name": "PostgreSQL", + "query": "DELETE FROM levels WHERE id = $1 AND guild = $2 RETURNING xp", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "xp", + "type_info": "Int8" + } + ], + "parameters": { + "Left": [ + "Int8", + "Int8" + ] + }, + "nullable": [ + false + ] + }, + "hash": "391dddb21dd6cb6c94d9716c97c17f2ac2a2c5ecfa0961158fb66ad2e29acbee" +}