From 1072a9d63b52871bae1a3ae15e386c2c3f77d51d Mon Sep 17 00:00:00 2001 From: Hay1tsme Date: Tue, 2 Apr 2024 16:43:13 -0400 Subject: [PATCH] database: fix create_revision_auto --- core/data/database.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/data/database.py b/core/data/database.py index cb60886..bd6c4f2 100644 --- a/core/data/database.py +++ b/core/data/database.py @@ -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",