020773f0f9a1_.py 802 B

1234567891011121314151617181920212223242526272829303132
  1. """empty message
  2. Revision ID: 020773f0f9a1
  3. Revises: d11bbd8ae6d8
  4. Create Date: 2024-05-27 15:22:45.044762
  5. """
  6. from alembic import op
  7. import sqlalchemy as sa
  8. # revision identifiers, used by Alembic.
  9. revision = '020773f0f9a1'
  10. down_revision = 'd11bbd8ae6d8'
  11. branch_labels = None
  12. depends_on = None
  13. def upgrade():
  14. # ### commands auto generated by Alembic - please adjust! ###
  15. with op.batch_alter_table('player', schema=None) as batch_op:
  16. batch_op.add_column(sa.Column('character_card', sa.Integer(), nullable=True))
  17. # ### end Alembic commands ###
  18. def downgrade():
  19. # ### commands auto generated by Alembic - please adjust! ###
  20. with op.batch_alter_table('player', schema=None) as batch_op:
  21. batch_op.drop_column('character_card')
  22. # ### end Alembic commands ###