Added finished alembic migration script.(refactoring)