Fix constraint error reported by @jacklul

Close  #289
parent 27ebab27
...@@ -875,7 +875,7 @@ class DB ...@@ -875,7 +875,7 @@ class DB
try { try {
$sth = self::$pdo->prepare(' $sth = self::$pdo->prepare('
INSERT INTO `' . TB_EDITED_MESSAGE . '` INSERT IGNORE INTO `' . TB_EDITED_MESSAGE . '`
(`chat_id`, `message_id`, `user_id`, `edit_date`, `text`, `entities`, `caption`) (`chat_id`, `message_id`, `user_id`, `edit_date`, `text`, `entities`, `caption`)
VALUES VALUES
(:chat_id, :message_id, :user_id, :date, :text, :entities, :caption) (:chat_id, :message_id, :user_id, :date, :text, :entities, :caption)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment