content: """add user avatar [8d4b9ba22c1f].
  
  Revision ID: 8d4b9ba22c1f
  Revises: d4591f95ac07
  Create Date: 2025-07-18 17:13:54.513273
  
  """
  
  import sqlalchemy as sa
  import sqlmodel
  from alembic import op
  
  # revision identifiers, used by Alembic.
  revision = "8d4b9ba22c1f"
  down_revision = "d4591f95ac07"
  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(
                  "avatar_url", 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("avatar_url")
  
      # ### end Alembic commands ###
  