text: """Update reviews model
  
  Revision ID: e758d3503ca6
  Revises: 873b43075704
  Create Date: 2019-11-22 13:21:00.959244
  
  """
  from alembic import op
  import sqlalchemy as sa
  
  
  # revision identifiers, used by Alembic.
  revision = 'e758d3503ca6'
  down_revision = '873b43075704'
  branch_labels = None
  depends_on = None
  
  
  def upgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.create_table('reviews',
      sa.Column('id', sa.Integer(), nullable=False),
      sa.Column('movie_id', sa.Integer(), nullable=True),
      sa.Column('movie_title', sa.String(), nullable=True),
      sa.Column('image_path', sa.String(), nullable=True),
      sa.Column('movie_review', sa.String(), nullable=True),
      sa.Column('posted', sa.DateTime(), nullable=True),
      sa.Column('user_id', sa.Integer(), nullable=True),
      sa.ForeignKeyConstraint(['user_id'], ['users.id'], ),
      sa.PrimaryKeyConstraint('id')
      )
      # ### end Alembic commands ###
  
  
  def downgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.drop_table('reviews')
      # ### end Alembic commands ###
  