text: """empty message
  
  Revision ID: e84a38d74d20
  Revises: 3177ed5ff694
  Create Date: 2020-03-18 18:08:36.443213
  
  """
  from alembic import op
  import sqlalchemy as sa
  
  
  # revision identifiers, used by Alembic.
  revision = 'e84a38d74d20'
  down_revision = '3177ed5ff694'
  branch_labels = None
  depends_on = None
  
  
  def upgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.create_table('users',
      sa.Column('id', sa.Integer(), nullable=False),
      sa.Column('provider', sa.String(), nullable=False),
      sa.Column('social_id', sa.String(), nullable=False),
      sa.Column('email_address', sa.String(), nullable=True),
      sa.Column('username', sa.String(), nullable=True),
      sa.Column('password_hash', sa.String(), nullable=True),
      sa.Column('created_date', sa.DateTime(timezone=True), server_default=sa.text('now()'), nullable=True),
      sa.Column('updated_date', sa.DateTime(timezone=True), nullable=True),
      sa.PrimaryKeyConstraint('id', name='pk_users'),
      sa.UniqueConstraint('provider', 'social_id', name='uq_users_1')
      )
      op.drop_table('user')
      # ### end Alembic commands ###
  
  
  def downgrade():
      # ### commands auto generated by Alembic - please adjust! ###
      op.create_table('user',
      sa.Column('id', sa.INTEGER(), autoincrement=True, nullable=False),
      sa.Column('name', sa.VARCHAR(length=128), autoincrement=False, nullable=True),
      sa.PrimaryKeyConstraint('id', name='user_pkey')
      )
      op.drop_table('users')
      # ### end Alembic commands ###
  