Fixed Alembic issues