Restructure guilds table

This commit is contained in:
jude
2025-05-23 22:04:21 +01:00
parent 19cfacffe5
commit 4dfde857ae
20 changed files with 81 additions and 89 deletions

View File

@ -35,7 +35,7 @@ pub async fn record_macro(
"
SELECT 1 as _e
FROM command_macro
WHERE guild_id = (SELECT id FROM guilds WHERE guild = ?)
WHERE guild_id = ?
AND name = ?
",
guild_id.get(),