Skip to content

Commit

Permalink
Commit create_all transaction. (bluesky#703)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielballan authored Apr 1, 2024
1 parent 1369d48 commit eda0499
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tiled/authn_database/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ async def initialize_database(engine):
async with engine.connect() as conn:
# Create all tables.
await conn.run_sync(Base.metadata.create_all)
await conn.commit()

# Initialize Roles table.
async with AsyncSession(engine) as db:
Expand Down

0 comments on commit eda0499

Please sign in to comment.