diff options
Diffstat (limited to '')
-rw-r--r-- | sql/ban_insert.sql | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/ban_insert.sql b/sql/ban_insert.sql index 71b2c1e..76633eb 100644 --- a/sql/ban_insert.sql +++ b/sql/ban_insert.sql @@ -8,7 +8,8 @@ INSERT INTO bans ban_invoker_client_id, ban_invoker_uid, ban_invoker_name, - ban_reason) + ban_reason, + ban_hash) VALUES (:server_id:, :ban_ip:, @@ -19,6 +20,7 @@ VALUES :ban_invoker_client_id:, :ban_invoker_uid:, :ban_invoker_name:, - :ban_reason:) + :ban_reason:, + :ban_hash:) RETURNING ban_id AS last_inserted_id; |