Fix update issues and wrong data, Fix updater for pro users get segmentation fault,need to kill main procces and reload

This commit is contained in:
sepehr 2025-01-02 22:52:40 +03:00
parent 70dc0ddc55
commit 8a1a32727d
2 changed files with 12 additions and 3 deletions

View file

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