"INSERT has more expressions than target columns"
All checks were successful
Build and push container image / build (push) Successful in 10m11s

This commit is contained in:
toast 2024-02-06 02:03:32 +11:00
parent c81e682de0
commit b7f5f12cb3

View File

@ -37,7 +37,7 @@ impl Gameservers {
let client = DatabaseController::new().await?.client;
client.execute("
INSERT INTO gameservers (server_name, game_name, guild_owner, ip_address)
VALUES ($1, $2, $3, $4, $5)
VALUES ($1, $2, $3, $4)
", &[&server_name, &game_name, &(guild_id as i64), &ip_address]).await?;
Ok(())