diff --git a/lms/migrations/versions/3466cfe2cbca_add_lmsuser_lms_api_user_id.py b/lms/migrations/versions/3466cfe2cbca_add_lmsuser_lms_api_user_id.py new file mode 100644 index 0000000000..25f8609031 --- /dev/null +++ b/lms/migrations/versions/3466cfe2cbca_add_lmsuser_lms_api_user_id.py @@ -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")