Try that again

This commit is contained in:
Neil Alexander 2022-11-08 10:27:01 +00:00
parent 196839ebf4
commit 786f008607
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -43,7 +43,7 @@ CREATE TABLE IF NOT EXISTS userapi_account_datas (
const insertAccountDataSQL = ` const insertAccountDataSQL = `
INSERT INTO userapi_account_datas(localpart, server_name, room_id, type, content) VALUES($1, $2, $3, $4, $5) INSERT INTO userapi_account_datas(localpart, server_name, room_id, type, content) VALUES($1, $2, $3, $4, $5)
ON CONFLICT (localpart, server_name, room_id, type) DO UPDATE SET content = $4 ON CONFLICT (localpart, server_name, room_id, type) DO UPDATE SET content = $5
` `
const selectAccountDataSQL = "" + const selectAccountDataSQL = "" +