database: fix create_revision_auto

This commit is contained in:
Hay1tsme 2024-04-02 16:43:13 -04:00
parent 942b636b3e
commit 1072a9d63b

View File

@ -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",