mirror of
https://github.com/gmbrax/Pilgrim.git
synced 2026-11-10 01:20:16 +00:00
Fix all imports to be absolute and not relative
This commit is contained in:
parent
78e45e26fd
commit
06ee08b201
@@ -29,6 +29,10 @@ class Database:
|
||||
self._session_maker = sessionmaker(bind=self.engine, autoflush=False, autocommit=False)
|
||||
|
||||
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)
|
||||
|
||||
def session(self):
|
||||
|
||||
Reference in New Issue
Block a user