content: """Add user metadata [cc9894cb58aa].
  
  Revision ID: cc9894cb58aa
  Revises: 2d201872e23c
  Create Date: 2024-04-15 11:46:09.471431
  
  """
  
  import sqlalchemy as sa
  import sqlmodel
  from alembic import op
  
  # revision identifiers, used by Alembic.
  revision = "cc9894cb58aa"
  down_revision = "0.56.4"
  branch_labels = None
  depends_on = None
  
  
  def upgrade() -> None:
      """Upgrade database schema and/or data, creating a new revision."""
      # ### commands auto generated by Alembic - please adjust! ###
      with op.batch_alter_table("user", schema=None) as batch_op:
          batch_op.add_column(
              sa.Column(
                  "user_metadata",
                  sqlmodel.sql.sqltypes.AutoString(),
                  nullable=True,
              )
          )
  
      # ### end Alembic commands ###
  
  
  def downgrade() -> None:
      """Downgrade database schema and/or data back to the previous revision."""
      # ### commands auto generated by Alembic - please adjust! ###
      with op.batch_alter_table("user", schema=None) as batch_op:
          batch_op.drop_column("user_metadata")
  
      # ### end Alembic commands ###
  