text: """add users
  
  Revision ID: dee7e2b6f04d
  Revises: 
  Create Date: 2022-01-23 18:31:58.902114
  
  """
  from alembic import op
  import sqlalchemy as sa
  
  
  # revision identifiers, used by Alembic.
  revision = 'dee7e2b6f04d'
  down_revision = None
  branch_labels = None
  depends_on = None
  
  
  def upgrade():
      op.create_table(
          "users",
          sa.Column("id", sa.Integer(), nullable=False),
          sa.Column("password", sa.String(length=255), nullable=False),
          sa.Column("email", sa.String(length=255), nullable=False),
          sa.Column(
              "created_at",
              sa.DateTime(timezone=True),
              server_default=sa.text("now()"),
              nullable=False,
          ),
          sa.Column(
              "updated_at",
              sa.DateTime(timezone=True),
              server_default=sa.text("now()"),
              nullable=False,
          ),
          sa.PrimaryKeyConstraint("id"),
          sa.UniqueConstraint("email"),
      )
  
  
  def downgrade():
      op.drop_table("users")
  