forked from Hay1tsme/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")
|
self.logger.info("Message is required for create-revision")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
for _, mod in Utils.get_all_titles().items():
|
||||||
|
if hasattr(mod, "database"):
|
||||||
|
mod.database(self.config)
|
||||||
|
|
||||||
self.__alembic_cmd(
|
self.__alembic_cmd(
|
||||||
"revision",
|
"revision",
|
||||||
"--autogenerate",
|
"--autogenerate",
|
||||||
|
Loading…
Reference in New Issue
Block a user