Skip to content

Commit

Permalink
Migration for assignment.lis_outcome_service_url
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospri committed Sep 4, 2024
1 parent 8e2b7b9 commit b40b8c2
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
"""Add the Assignment.lis_outcome_service_url column."""

import sqlalchemy as sa
from alembic import op

revision = "ff2f8a64f6a9"
down_revision = "cb5fe6e8dc09"


def upgrade() -> None:
op.add_column(
"assignment", sa.Column("lis_outcome_service_url", sa.String(), nullable=True)
)


def downgrade() -> None:
op.drop_column("assignment", "lis_outcome_service_url")

0 comments on commit b40b8c2

Please sign in to comment.