"""Drop the plugin catalog's stored settings Steward no longer has a plugin catalog (#5374): first-party plugins ship in the image and a third-party plugin is a folder the operator mounts, so nothing reads `plugins.index_url` or `plugins.repositories` any more. The removed feature takes its rows with it, as 0025 did for the http plugin. Revision ID: 0035_drop_plugin_catalog Revises: 0034_user_time_zone Create Date: 2026-10-08 """ from typing import Sequence, Union from alembic import op import sqlalchemy as sa revision: str = "0035_drop_plugin_catalog" down_revision: Union[str, None] = "0034_user_time_zone" branch_labels: Union[str, Sequence[str], None] = None depends_on: Union[str, Sequence[str], None] = None def upgrade() -> None: op.execute(sa.text( "DELETE FROM app_settings WHERE key IN ('plugins.index_url', 'plugins.repositories')")) def downgrade() -> None: # Deliberately empty: nothing would read the rows. pass