Исправление регистрации
All checks were successful
Local Deploy with Docker / build-and-deploy (push) Successful in 38s
All checks were successful
Local Deploy with Docker / build-and-deploy (push) Successful in 38s
This commit is contained in:
parent
76ca147450
commit
931e01fcd6
@ -58,7 +58,7 @@ class Program
|
|||||||
{
|
{
|
||||||
using (IDbConnection db = new NpgsqlConnection(connectionString))
|
using (IDbConnection db = new NpgsqlConnection(connectionString))
|
||||||
{
|
{
|
||||||
string query = "INSERT INTO users (chat_id, user_id, user_name) VALUES (@ChatId, @UserId, @UserName) ON CONFLICT (user_id) DO NOTHING";
|
string query = "INSERT INTO users (chat_id, user_id, user_name) VALUES (@ChatId, @UserId, @UserName) ON CONFLICT (chat_id, user_id) DO NOTHING";
|
||||||
|
|
||||||
var parameters = new
|
var parameters = new
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user