text: """add the column
  
  Revision ID: 860dda7f79ff
  Revises: 2f3a0f83d42f
  Create Date: 2021-11-11 23:11:24.184407
  
  """
  from alembic import op
  import sqlalchemy as sa
  
  
  # revision identifiers, used by Alembic.
  revision = '860dda7f79ff'
  down_revision = '2f3a0f83d42f'
  branch_labels = None
  depends_on = None
  
  
  def upgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.create_table('blogs',
      sa.Column('id', sa.Integer(), nullable=False),
      sa.Column('title', sa.String(length=255), nullable=True),
      sa.Column('category', sa.String(length=255), nullable=True),
      sa.Column('blog', sa.String(length=255), nullable=True),
      sa.Column('date', sa.DateTime(timezone=250), nullable=True),
      sa.Column('user_id', sa.Integer(), nullable=False),
      sa.ForeignKeyConstraint(['user_id'], ['users.id'], ondelete='CASCADE'),
      sa.PrimaryKeyConstraint('id')
      )
      # ### end Alembic commands ###
  
  
  def downgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.drop_table('blogs')
      # ### end Alembic commands ###
  