Skip to content

Commit

Permalink
Migration for lms_user.lti_v13_user_id
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospri committed Sep 10, 2024
1 parent f3f1e9d commit b406d78
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"""Migration for LMSUser.lti_v13_user_id."""

from alembic import op
import sqlalchemy as sa


revision = "adc83819c8d8"
down_revision = "f521d69a47d2"


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


def downgrade() -> None:
op.drop_column("lms_user", "lti_v13_user_id")

0 comments on commit b406d78

Please sign in to comment.