Skip to content

Commit

Permalink
Migration for assignment.lti_v13_resource_link_id
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospri committed Sep 2, 2024
1 parent 3a42c21 commit 4c654a2
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions lms/migrations/versions/481968561169_assignment_v13_id.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
"""Assignment v13 ID."""

import sqlalchemy as sa
from alembic import op

revision = "481968561169"
down_revision = "9e79650bed37"


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


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

0 comments on commit 4c654a2

Please sign in to comment.