SQLite can be a pain in the ass