Files
notifications-api/migrations/versions/0069_add_dvla_job_status.py
Cliff Hill 1157f5639d black, isort, flake8
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-12-08 21:43:52 -05:00

25 lines
624 B
Python

"""empty message
Revision ID: 0069_add_dvla_job_status
Revises: 0068_add_created_by_to_provider
Create Date: 2017-03-10 16:15:22.153948
"""
# revision identifiers, used by Alembic.
revision = "0069_add_dvla_job_status"
down_revision = "0068_add_created_by_to_provider"
import sqlalchemy as sa
from alembic import op
def upgrade():
op.execute("INSERT INTO JOB_STATUS VALUES('ready to send')")
op.execute("INSERT INTO JOB_STATUS VALUES('sent to dvla')")
def downgrade():
op.execute("DELETE FROM JOB_STATUS WHERE name = 'ready to send'")
op.execute("DELETE FROM JOB_STATUS where name = 'sent to dvla'")