Skip to content

Commit

Permalink
Migration to add LMSUser.lms_api_user_id
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospri committed Nov 28, 2024
1 parent 80aabd0 commit 18e56c6
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"""Add LMSUser.lms_api_user_id."""

from alembic import op
import sqlalchemy as sa


revision = "3466cfe2cbca"
down_revision = "50fb51c51314"


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


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

0 comments on commit 18e56c6

Please sign in to comment.