Fix: errors on models from generating database.

This commit is contained in:
2025-07-17 09:14:51 -04:00
parent 3eea225931
commit 6b60c37726
2 changed files with 7 additions and 4 deletions
-1
View File
@@ -10,5 +10,4 @@ url = "sqlite:///database/dakiny.db"
dakiny_logger.info("Connected to local dev database.")
engine = create_engine(url)
# Don't need to create all when connected to prod.
SQLModel.metadata.create_all(engine)