Skip to content
Snippets Groups Projects
  • Charlotte Hausman's avatar
    8962f974
    WS-127: Rework messaging system · 8962f974
    Charlotte Hausman authored and Nathan Hertz's avatar Nathan Hertz committed
    Messaging system is now running on a more robust foundation:
    - `kombu` package for AMQP networking
    - New Messenger and Router objects
    - New message format
    - Easy-to-use callback subscribing
    - Can now get messages anywhere in the system easily and send replies back easily
    8962f974
    History
    WS-127: Rework messaging system
    Charlotte Hausman authored and Nathan Hertz's avatar Nathan Hertz committed
    Messaging system is now running on a more robust foundation:
    - `kombu` package for AMQP networking
    - New Messenger and Router objects
    - New message format
    - Easy-to-use callback subscribing
    - Can now get messages anywhere in the system easily and send replies back easily
c3e0d50b5189_update_null_capability_definition.py 699 B
"""update null capability definition

Revision ID: c3e0d50b5189
Revises: 72cee10f1f0d
Create Date: 2021-03-16 15:29:09.016403

"""
import sqlalchemy as sa
from alembic import op

# revision identifiers, used by Alembic.
revision = "c3e0d50b5189"
down_revision = "72cee10f1f0d"
branch_labels = None
depends_on = None


def upgrade():
    op.execute(
        "UPDATE capabilities "
        "SET capability_steps = 'prepare-and-run-workflow null' "
        "WHERE capability_name = 'null'"
    )


def downgrade():
    op.execute(
        "UPDATE capabilities "
        "SET capability_steps = 'prepare-and-run-workflow null\nawait-parameter qa-status' "
        "WHERE capability_name = 'null'"
    )