The word "key" is a reserved word in MySQL.

This commit is contained in:
İsmail
2024-11-06 21:14:03 +03:00
parent ba29770300
commit dc5ed4f2ed

View File

@@ -36,7 +36,7 @@ import (
const (
storeSqliteFileName = "store.db"
idQueryCondition = "id = ?"
keyQueryCondition = "key = ?"
keyQueryCondition = "`key` = ?"
accountAndIDQueryCondition = "account_id = ? and id = ?"
accountIDCondition = "account_id = ?"
peerNotFoundFMT = "peer %s not found"