Implemented database migrations with Alembic.