forked from DigiFi/digifi-BankToProductCore
1795db35be
This reverts commit 8bb5ce69e2.
35 lines
965 B
Python
35 lines
965 B
Python
"""empty message
|
|
|
|
Revision ID: 7a0caf83d5be
|
|
Revises: 1696ee63c28a
|
|
Create Date: 2025-06-19 04:35:23.660261
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '7a0caf83d5be'
|
|
down_revision = '1696ee63c28a'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
with op.batch_alter_table('salaries', schema=None) as batch_op:
|
|
batch_op.add_column(sa.Column('account_id', sa.String(length=50), nullable=True))
|
|
batch_op.drop_column('account_type')
|
|
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
with op.batch_alter_table('salaries', schema=None) as batch_op:
|
|
batch_op.add_column(sa.Column('account_type', sa.VARCHAR(length=50), autoincrement=False, nullable=True))
|
|
batch_op.drop_column('account_id')
|
|
|
|
# ### end Alembic commands ###
|