"INSERT has more expressions than target columns"
All checks were successful
Build and push container image / build (push) Successful in 10m11s
All checks were successful
Build and push container image / build (push) Successful in 10m11s
This commit is contained in:
parent
c81e682de0
commit
b7f5f12cb3
@ -37,7 +37,7 @@ impl Gameservers {
|
|||||||
let client = DatabaseController::new().await?.client;
|
let client = DatabaseController::new().await?.client;
|
||||||
client.execute("
|
client.execute("
|
||||||
INSERT INTO gameservers (server_name, game_name, guild_owner, ip_address)
|
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?;
|
", &[&server_name, &game_name, &(guild_id as i64), &ip_address]).await?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
Loading…
Reference in New Issue
Block a user