Skip to content

Commit

Permalink
Update sqlalchemy.py
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Aug 14, 2023
1 parent 2a82214 commit ae47293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apscheduler/datastores/sqlalchemy.py
Expand Up @@ -323,7 +323,7 @@ async def start(
with attempt:
update = (
self.t_metadata.update()
.values(schema_version=1)
.values(schema_version=self.t_metadata.c.schema_version)
.returning(self.t_metadata.c.schema_version)
)
async with self._begin_transaction() as conn:
Expand Down

0 comments on commit ae47293

Please sign in to comment.