A webapp/form for people to join pEp coop. Fork of Cultural Commons Collecting Society (C3S) SCE
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34c421bb0d0c_invitations_ga_bc_2018.py 860B

123456789101112131415161718192021222324252627
  1. """Invitations for general assembly and bar camp 2018
  2. Revision ID: 34c421bb0d0c
  3. Revises: 2fbe1bde5df8
  4. Create Date: 2018-04-23 20:03:17.014936
  5. """
  6. # revision identifiers, used by Alembic.
  7. revision = '34c421bb0d0c'
  8. down_revision = '2fbe1bde5df8'
  9. from alembic import op
  10. import sqlalchemy as sa
  11. def upgrade():
  12. op.add_column('members', sa.Column('email_invite_date_bcgv18', sa.DateTime(), nullable=True))
  13. op.add_column('members', sa.Column('email_invite_flag_bcgv18', sa.Boolean(), nullable=True))
  14. op.add_column('members', sa.Column('email_invite_token_bcgv18', sa.Unicode(length=255), nullable=True))
  15. def downgrade():
  16. with op.batch_alter_table('members') as batch_op:
  17. batch_op.drop_column('email_invite_token_bcgv18')
  18. batch_op.drop_column('email_invite_flag_bcgv18')
  19. batch_op.drop_column('email_invite_date_bcgv18')