2023081632_fix_slot_column_name_2f90ef72e3b9.py 751 B

123456789101112131415161718192021222324252627282930313233
  1. """fix_slot_column_name
  2. Revision ID: 2f90ef72e3b9
  3. Revises: 5fcd397aae72
  4. Create Date: 2023-08-16 22:32:42.841398
  5. """
  6. from alembic import op
  7. import sqlalchemy as sa
  8. # revision identifiers, used by Alembic.
  9. revision = "2f90ef72e3b9"
  10. down_revision = "5fcd397aae72"
  11. branch_labels = None
  12. depends_on = None
  13. def upgrade():
  14. # ### commands auto generated by Alembic - please adjust! ###
  15. op.alter_column(
  16. "slots", "responsibleContact", new_column_name="responsible_contact"
  17. )
  18. # ### end Alembic commands ###
  19. def downgrade():
  20. # ### commands auto generated by Alembic - please adjust! ###
  21. op.alter_column(
  22. "slots", "responsible_contact", new_column_name="responsibleContact"
  23. )
  24. # ### end Alembic commands ###