mirror of https://github.com/gmbrax/Pilgrim.git
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:
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):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue