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 a504d90
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
"""Add LMSUser.lms_api_user_id."""

import sqlalchemy as sa
from alembic import op

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 a504d90

Please sign in to comment.