2024081845_implmement_comment_at_benevole_and__f058df5a266c.py 827 B

123456789101112131415161718192021222324252627282930
  1. """implmement comment at benevole and template
  2. Revision ID: f058df5a266c
  3. Revises: 8fee990845df
  4. Create Date: 2024-08-18 17:45:45.047712
  5. """
  6. from alembic import op
  7. import sqlalchemy as sa
  8. # revision identifiers, used by Alembic.
  9. revision = 'f058df5a266c'
  10. down_revision = '8fee990845df'
  11. branch_labels = None
  12. depends_on = None
  13. def upgrade():
  14. # ### commands auto generated by Alembic - please adjust! ###
  15. op.add_column('slot_templates', sa.Column('comment', sa.String(), nullable=False))
  16. op.add_column('volunteers', sa.Column('comment', sa.String(), nullable=False))
  17. # ### end Alembic commands ###
  18. def downgrade():
  19. # ### commands auto generated by Alembic - please adjust! ###
  20. op.drop_column('volunteers', 'comment')
  21. op.drop_column('slot_templates', 'comment')
  22. # ### end Alembic commands ###