diff --git a/server/infra/resource/src/database/user.rs b/server/infra/resource/src/database/user.rs index 3c3f5a96..2bcdef20 100644 --- a/server/infra/resource/src/database/user.rs +++ b/server/infra/resource/src/database/user.rs @@ -13,8 +13,7 @@ impl UserDatabase for ConnectionPool { DatabaseBackend::MySql, "INSERT INTO users (uuid, name, role) VALUES (?, ?, ?) ON DUPLICATE KEY UPDATE - name = VALUES(name), - role = VALUES(role)", + name = VALUES(name)", [ user.id.to_string().into(), user.name.to_owned().into(),