Skip to content

Commit

Permalink
fix: replaced deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
whustedt committed Jun 6, 2024
1 parent fab1f12 commit 431f60f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations/versions/61fac01b7ce5_initial_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
def upgrade():
# Connect to the current target database
conn = op.get_bind()
inspector = Inspector.from_engine(conn)
inspector = sa.inspect(conn)
# Check if the 'entry' table already exists
if 'entry' not in inspector.get_table_names():
op.create_table('entry',
Expand Down

0 comments on commit 431f60f

Please sign in to comment.