text: """empty message
  
  Revision ID: 6ede911185a3
  Revises: 
  Create Date: 2019-07-30 10:30:00.797786
  
  """
  from alembic import op
  import sqlalchemy as sa
  
  
  # revision identifiers, used by Alembic.
  revision = '6ede911185a3'
  down_revision = None
  branch_labels = None
  depends_on = None
  
  
  def upgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.create_table('comic',
      sa.Column('id', sa.Integer(), nullable=False),
      sa.Column('title', sa.String(length=256), nullable=True),
      sa.Column('issues', sa.Integer(), nullable=True),
      sa.PrimaryKeyConstraint('id')
      )
      op.create_table('character',
      sa.Column('id', sa.Integer(), nullable=False),
      sa.Column('name', sa.String(length=256), nullable=True),
      sa.Column('comic_id', sa.Integer(), nullable=True),
      sa.ForeignKeyConstraint(['comic_id'], ['comic.id'], ),
      sa.PrimaryKeyConstraint('id'),
      sa.UniqueConstraint('name')
      )
      # ### end Alembic commands ###
  
  
  def downgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.drop_table('character')
      op.drop_table('comic')
      # ### end Alembic commands ###
  