new_contents: """empty message
  
  Revision ID: 453729c2bc21
  Revises: None
  Create Date: 2014-10-21 20:38:31.748387
  
  """
  
  # revision identifiers, used by Alembic.
  revision = '453729c2bc21'
  down_revision = None
  
  from alembic import op
  import sqlalchemy as sa
  
  
  def upgrade():
      ### commands auto generated by Alembic - please adjust! ###
      op.create_table('dlannotations',
      sa.Column('downloads_id', sa.Integer(), nullable=False),
      sa.Column('annotations_json', sa.Text(convert_unicode=True), nullable=False),
      sa.Column('annotator_name', sa.String(length=50), nullable=False),
      sa.Column('raw_content', sa.Text(convert_unicode=True), nullable=False),
      sa.Column('last_updated', sa.DateTime(timezone=True), nullable=True),
      sa.PrimaryKeyConstraint('downloads_id'),
      sa.UniqueConstraint('downloads_id')
      )
      op.create_table('users',
      sa.Column('id', sa.Integer(), nullable=False),
      sa.Column('username', sa.String(length=80), nullable=False),
      sa.Column('email', sa.String(length=80), nullable=False),
      sa.Column('password', sa.String(length=128), nullable=True),
      sa.Column('created_at', sa.DateTime(), nullable=False),
      sa.Column('first_name', sa.String(length=30), nullable=True),
      sa.Column('last_name', sa.String(length=30), nullable=True),
      sa.Column('active', sa.Boolean(), nullable=True),
      sa.Column('is_admin', sa.Boolean(), nullable=True),
      sa.PrimaryKeyConstraint('id'),
      sa.UniqueConstraint('email'),
      sa.UniqueConstraint('username')
      )
      op.create_table('roles',
      sa.Column('id', sa.Integer(), nullable=False),
      sa.Column('name', sa.String(length=80), nullable=False),
      sa.Column('user_id', sa.Integer(), nullable=True),
      sa.ForeignKeyConstraint(['user_id'], ['users.id'], ),
      sa.PrimaryKeyConstraint('id'),
      sa.UniqueConstraint('name')
      )
      ### end Alembic commands ###
  
  
  def downgrade():
      ### commands auto generated by Alembic - please adjust! ###
      op.drop_table('roles')
      op.drop_table('users')
      op.drop_table('dlannotations')
      ### end Alembic commands ###
  
subject: Add migration.