Skip to content

Commit

Permalink
Partial update to sqlalchemy 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Benson Muite committed Jan 4, 2025
1 parent c63745f commit bfce999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gourmand/backends/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def __init__ (self, file: str, url: str):
self.initialize_connection()
Pluggable.__init__(self,[DatabasePlugin])
self.setup_tables()
self.metadata.create_all()
self.metadata.create_all(self.db)
self.update_version_info(gourmand.__version__.version)
self._created = True
timer.end()
Expand Down

0 comments on commit bfce999

Please sign in to comment.