forked from Dniel97/artemis
database: fix create_revision_auto
This commit is contained in:
parent
942b636b3e
commit
1072a9d63b
@ -241,6 +241,10 @@ class Data:
|
||||
self.logger.info("Message is required for create-revision")
|
||||
return
|
||||
|
||||
for _, mod in Utils.get_all_titles().items():
|
||||
if hasattr(mod, "database"):
|
||||
mod.database(self.config)
|
||||
|
||||
self.__alembic_cmd(
|
||||
"revision",
|
||||
"--autogenerate",
|
||||
|
Loading…
Reference in New Issue
Block a user