remove "display name" from adding new friends

This commit is contained in:
2026-08-28 14:21:36 +08:00
parent a042945f5d
commit eb689210d4
17 changed files with 749 additions and 317 deletions
@@ -0,0 +1,13 @@
CREATE TABLE friends_with_optional_profiles (
id TEXT PRIMARY KEY NOT NULL,
display_name TEXT
);
-- Existing names were entered locally and cannot be distinguished from names
-- learned from a signed remote profile. Keep the relationship, then learn the
-- authoritative display name again from the remote.
INSERT INTO friends_with_optional_profiles (id)
SELECT id FROM friends;
DROP TABLE friends;
ALTER TABLE friends_with_optional_profiles RENAME TO friends;