mirror of
https://github.com/gmbrax/Pilgrim.git
synced 2026-11-09 16:10:17 +00:00
Update src/pilgrim/database.py
Remove Debug message Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
parent
2ba1cbd0a6
commit
e1add84537
@@ -29,10 +29,6 @@ class Database:
|
|||||||
self._session_maker = sessionmaker(bind=self.engine, autoflush=False, autocommit=False)
|
self._session_maker = sessionmaker(bind=self.engine, autoflush=False, autocommit=False)
|
||||||
|
|
||||||
def create(self):
|
def create(self):
|
||||||
# ADICIONE ESTAS 3 LINHAS AQUI
|
|
||||||
print("\n--- [DIAGNÓSTICO DA APLICAÇÃO] ---")
|
|
||||||
print("Tabelas que a Base conhece:", sorted(list(Base.metadata.tables.keys())))
|
|
||||||
print("----------------------------------")
|
|
||||||
Base.metadata.create_all(self.engine)
|
Base.metadata.create_all(self.engine)
|
||||||
|
|
||||||
def session(self):
|
def session(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user