text: """empty message
  
  Revision ID: e26eadc4c970
  Revises: 69f5e753ee6c
  Create Date: 2018-08-30 04:37:24.347022
  
  """
  from alembic import op
  import sqlalchemy as sa
  
  
  # revision identifiers, used by Alembic.
  revision = 'e26eadc4c970'
  down_revision = '69f5e753ee6c'
  branch_labels = None
  depends_on = None
  
  
  def upgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.create_table('post',
      sa.Column('id', sa.Integer(), nullable=False),
      sa.Column('body', sa.String(length=140), nullable=True),
      sa.Column('timestamp', sa.DateTime(), nullable=True),
      sa.Column('user_id', sa.Integer(), nullable=True),
      sa.ForeignKeyConstraint(['user_id'], ['user.id'], ),
      sa.PrimaryKeyConstraint('id')
      )
      op.create_index(op.f('ix_post_timestamp'), 'post', ['timestamp'], unique=False)
      # ### end Alembic commands ###
  
  
  def downgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.drop_index(op.f('ix_post_timestamp'), table_name='post')
      op.drop_table('post')
      # ### end Alembic commands ###
  