feat: add private expiring workspace invites and restore KAAK home

This commit is contained in:
illusia committed 2026-11-04 17:42:34 +08:00
1 parent 33ba062686
commit 72d7e6e013
39 files changed
+512 -53

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ test("schema 7 upgrades preserve the previously unused public host and initializ
const original = new WebSpeakDatabase(filename);
original.close();
const legacy = new DatabaseSync(filename);
legacy.exec("DROP TABLE ts_admin_settings; ALTER TABLE relay_nodes DROP COLUMN voice_endpoint; ALTER TABLE settings DROP COLUMN ts_target; ALTER TABLE managed_invites DROP COLUMN target_text; ALTER TABLE settings DROP COLUMN webrtc_ipv6_enabled; ALTER TABLE settings DROP COLUMN webrtc_stun_server; PRAGMA user_version = 7;");
legacy.exec("DROP TABLE ts_admin_settings; ALTER TABLE relay_nodes DROP COLUMN voice_endpoint; ALTER TABLE settings DROP COLUMN ts_target; ALTER TABLE managed_invites DROP COLUMN target_text; ALTER TABLE settings DROP COLUMN webrtc_ipv6_enabled; ALTER TABLE settings DROP COLUMN webrtc_stun_server; DROP TABLE workspace_invites; PRAGMA user_version = 7;");
legacy.prepare("UPDATE settings SET webrtc_public_host = ?").run("media.example.com");
legacy.close();
const migrated = new WebSpeakDatabase(filename);