new_contents: # -*- coding: utf-8 -*-
  """Fix column lengths
  
  Revision ID: 530c22761e27
  Revises: e2b28adfa135
  Create Date: 2020-04-20 16:19:22.597712
  
  """
  
  from alembic import op
  import sqlalchemy as sa
  
  # revision identifiers, used by Alembic.
  revision = '530c22761e27'
  down_revision = 'e2b28adfa135'
  branch_labels = None
  depends_on = None
  
  
  def upgrade():
      op.alter_column(
          'profile', 'name', existing_type=sa.Unicode(250), type_=sa.Unicode(63)
      )
      op.alter_column(
          'user', 'timezone', existing_type=sa.Unicode(40), type_=sa.Unicode(50)
      )
  
  
  def downgrade():
      op.alter_column(
          'user', 'timezone', existing_type=sa.Unicode(50), type_=sa.Unicode(40)
      )
      op.alter_column(
          'profile', 'name', existing_type=sa.Unicode(63), type_=sa.Unicode(250)
      )
  
subject: Fix column lengths to match schema