set default update mode to auto

This commit is contained in:
sepehr 2025-01-02 23:11:16 +03:00
parent 8a1a32727d
commit ac29454221

View file

@ -2,6 +2,6 @@
def migrate(migrator, database, fake=False, **kwargs):
migrator.sql("""INSERT INTO public.sysconfig( key, value) VALUES ( 'update_mode', '{"mode": "manual", "update_back": false, "update_front": false}')""")
migrator.sql("""INSERT INTO public.sysconfig( key, value) VALUES ( 'update_mode', '{"mode": "auto", "update_back": false, "update_front": false}')""")