Skip to content

Commit

Permalink
Fix migration to backfill user.pubid column part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
mtomilov committed Jan 16, 2025
1 parent a1cf156 commit 344de3c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Backfill user.pubid with unique values part 2."""

from alembic import op
from sqlalchemy.orm import sessionmaker

from h.migrations.versions.f32200e2e496_backfill_user_pubid import backfill_users

Expand All @@ -14,7 +15,7 @@


def upgrade():
session = op.get_bind()
session = sessionmaker()(bind=op.get_bind())

backfill_users(
session,
Expand Down

0 comments on commit 344de3c

Please sign in to comment.