diff --git a/storage/mysql/mysql.go b/storage/mysql/mysql.go index d4f7c224..111b7645 100644 --- a/storage/mysql/mysql.go +++ b/storage/mysql/mysql.go @@ -24,8 +24,8 @@ import ( ) const ( - selectCheckpointByIDSQL = "SELECT note FROM Checkpoint WHERE id = ?" - replaceCheckpointSQL = "REPLACE INTO Checkpoint (id, note) VALUES (?, ?)" + selectCheckpointByIDSQL = "SELECT `note` FROM `Checkpoint` WHERE `id` = ?" + replaceCheckpointSQL = "REPLACE INTO `Checkpoint` (`id`, `note`) VALUES (?, ?)" checkpointID = 0 )