Skip to content

Commit

Permalink
Fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Temmmmmo committed Nov 9, 2024
1 parent 5d9fb70 commit 1c7c378
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
"""delete-user-id-from-lectureruser
Revision ID: fee34ac4fcab
Revises: 0fbda260a023
Create Date: 2024-11-10 02:38:49.538788
"""

from alembic import op
import sqlalchemy as sa


revision = 'fee34ac4fcab'
down_revision = '0fbda260a023'
branch_labels = None
depends_on = None


def upgrade():
op.drop_column('lecturer_user_comment', 'user_id')


def downgrade():
op.add_column('lecturer_user_comment', sa.Column('user_id', sa.INTEGER(), autoincrement=False, nullable=False))

0 comments on commit 1c7c378

Please sign in to comment.