Files
notifications-api/migrations/versions/0051_set_job_status.py
Rebecca Law e3fa8bffd7 Fix merge conflicts in tests.
Update new migrations scripts to fix conflict in with script names.
2016-09-02 12:01:38 +01:00

23 lines
397 B
Python

"""empty message
Revision ID: 0051_set_job_status
Revises: 0050_index_for_stats
Create Date: 2016-08-24 13:21:51.744526
"""
# revision identifiers, used by Alembic.
revision = '0051_set_job_status'
down_revision = '0050_index_for_stats'
from alembic import op
def upgrade():
op.execute("update jobs set job_status = status where job_status is null")
pass
def downgrade():
pass