33 lines
861 B
Python
33 lines
861 B
Python
"""adding artic_technician to Artic
|
|
|
|
Revision ID: 8a5bc2924ef9
|
|
Revises: b95478ffb4a3
|
|
Create Date: 2023-10-31 13:59:47.746122
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '8a5bc2924ef9'
|
|
down_revision = 'b95478ffb4a3'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
with op.batch_alter_table('_submissions', schema=None) as batch_op:
|
|
batch_op.add_column(sa.Column('artic_technician', sa.String(length=64), nullable=True))
|
|
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade() -> None:
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
with op.batch_alter_table('_submissions', schema=None) as batch_op:
|
|
batch_op.drop_column('artic_technician')
|
|
|
|
# ### end Alembic commands ###
|