There was an error while loading. Please reload this page.
1 parent cb0fd0b commit ddd5bbeCopy full SHA for ddd5bbe
1 file changed
hiddifypanel/panel/init_db.py
@@ -40,6 +40,16 @@ def _drop_wip_proxy_tables() -> None:
40
set_hconfig(ConfigEnum.db_version, 129)
41
42
43
+def _v131(child_id):
44
+ termination = CustomProxy.query.filter(
45
+ CustomProxy.child_id == Child.current().id,
46
+ CustomProxy.slug == REALITY_TERMINATION_SLUG,
47
+ CustomProxy.enable == True,
48
+ ).first()
49
+ for d in Domain.query.filter(Domain.mode == DomainType.direct, Domain.fake_mode == FakeMode.reality).all():
50
+ d.custom_proxy_id = termination.id
51
+
52
53
def _v130(child_id):
54
"""Fresh proxy catalog, TLS store, and server IPs (WIP — no incremental migrations)."""
55
0 commit comments