text: """Initial
  
  Revision ID: 05053a1da502
  Revises: 
  Create Date: 2018-01-04 16:10:20.640877
  
  """
  from alembic import op
  import sqlalchemy as sa
  
  
  # revision identifiers, used by Alembic.
  revision = '05053a1da502'
  down_revision = None
  branch_labels = None
  depends_on = None
  
  
  def upgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.create_table('instance',
      sa.Column('id', sa.Integer(), nullable=False),
      sa.Column('name', sa.String(), nullable=False),
      sa.Column('server_secret', sa.String(), nullable=False),
      sa.Column('venue_user_id', sa.Integer(), nullable=False),
      sa.PrimaryKeyConstraint('id')
      )
      op.create_table('venueuser',
      sa.Column('id', sa.Integer(), nullable=False),
      sa.Column('username', sa.String(), nullable=False),
      sa.Column('password', sa.String(), nullable=False),
      sa.Column('email', sa.String(), nullable=False),
      sa.Column('display_name', sa.String(), nullable=False),
      sa.PrimaryKeyConstraint('id')
      )
      # ### end Alembic commands ###
  
  
  def downgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.drop_table('venueuser')
      op.drop_table('instance')
      # ### end Alembic commands ###
  