new_contents: """add auth related models
  
  Revision ID: 48dbba323e2
  Revises: 3b54219c648
  Create Date: 2015-10-29 01:57:49.563537
  
  """
  
  # revision identifiers, used by Alembic.
  revision = '48dbba323e2'
  down_revision = '3b54219c648'
  
  from alembic import op
  import sqlalchemy as sa
  
  
  def upgrade():
      ### commands auto generated by Alembic - please adjust! ###
      op.create_table('role',
      sa.Column('id', sa.Integer(), nullable=False),
      sa.Column('name', sa.String(length=80), nullable=True),
      sa.Column('description', sa.String(length=255), nullable=True),
      sa.PrimaryKeyConstraint('id'),
      sa.UniqueConstraint('name')
      )
      op.create_table('user',
      sa.Column('id', sa.Integer(), nullable=False),
      sa.Column('email', sa.String(length=255), nullable=True),
      sa.Column('password', sa.String(length=255), nullable=True),
      sa.Column('active', sa.Boolean(), nullable=True),
      sa.Column('confirmed_at', sa.DateTime(), nullable=True),
      sa.PrimaryKeyConstraint('id'),
      sa.UniqueConstraint('email')
      )
      op.create_table('roles_users',
      sa.Column('user_id', sa.Integer(), nullable=True),
      sa.Column('role_id', sa.Integer(), nullable=True),
      sa.ForeignKeyConstraint(['role_id'], ['role.id'], ),
      sa.ForeignKeyConstraint(['user_id'], ['user.id'], )
      )
      ### end Alembic commands ###
  
  
  def downgrade():
      ### commands auto generated by Alembic - please adjust! ###
      op.drop_table('roles_users')
      op.drop_table('user')
      op.drop_table('role')
      ### end Alembic commands ###
  
subject: add omitted migration