content: """Add hub token to user model [b4eccf34dfa3].
  
  Revision ID: b4eccf34dfa3
  Revises: f49904a80aa7
  Create Date: 2023-03-21 11:48:09.499402
  
  """
  
  import sqlalchemy as sa
  import sqlmodel
  from alembic import op
  
  # revision identifiers, used by Alembic.
  revision = "b4eccf34dfa3"
  down_revision = "f49904a80aa7"
  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(
                  "hub_token", 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("hub_token")
  
      # ### end Alembic commands ###
  