text: """Init
  
  Revision ID: 7913c7eada43
  Revises: 
  Create Date: 2021-11-05 23:13:30.378152
  
  """
  from alembic import op
  import sqlalchemy as sa
  
  
  # revision identifiers, used by Alembic.
  revision = '7913c7eada43'
  down_revision = None
  branch_labels = None
  depends_on = None
  
  
  def upgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.create_table('union_member',
      sa.Column('id', sa.Integer(), nullable=False),
      sa.Column('last_name', sa.String(), nullable=False),
      sa.Column('first_name', sa.String(), nullable=False),
      sa.Column('patronymic', sa.String(), nullable=True),
      sa.Column('academic_group_number', sa.String(), nullable=False),
      sa.Column('email', sa.String(), nullable=False),
      sa.Column('email_uuid', sa.String(), nullable=False),
      sa.Column('status', sa.Enum('unconfirmed', 'confirmed', 'finished', name='status'), nullable=True),
      sa.PrimaryKeyConstraint('id')
      )
      # ### end Alembic commands ###
  
  
  def downgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.drop_table('union_member')
      # ### end Alembic commands ###
  