Addition of Equipment and SubmissionType creation.
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
"""Adding process to equipSubAssoc
|
||||
|
||||
Revision ID: cd5c225b5d2a
|
||||
Revises: cd11db3794ed
|
||||
Create Date: 2023-12-15 09:13:23.492512
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = 'cd5c225b5d2a'
|
||||
down_revision = 'cd11db3794ed'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade() -> None:
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
with op.batch_alter_table('_equipment_submissions', schema=None) as batch_op:
|
||||
batch_op.add_column(sa.Column('process', sa.String(length=64), nullable=True))
|
||||
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade() -> None:
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
with op.batch_alter_table('_equipment_submissions', schema=None) as batch_op:
|
||||
batch_op.drop_column('process')
|
||||
|
||||
# ### end Alembic commands ###
|
||||
Reference in New Issue
Block a user