Fix extra quote in SQL
Merge branch 'dev/db-api' of https://github.com/BenMQ/laughing-avenger