[RFC] Add proper support for SQLite [reviewed]