Rename table references

This commit is contained in:
jude
2024-02-14 19:44:53 +00:00
parent 96012ce43c
commit 2f6d035efe
4 changed files with 11 additions and 10 deletions

View File

@ -55,7 +55,7 @@ pub async fn guild_command_macro(ctx: &Context<'_>, name: &str) -> Option<Comman
let row = sqlx::query!(
"
SELECT m.id, m.name, m.description, m.commands
FROM macro m
FROM command_macro m
INNER JOIN guilds g
ON g.id = m.guild_id
WHERE guild = ?