a collection of alembic workaround and hacks for improved sqlite support