Monorepo for Tangled tangled.org
754
fork

Configure Feed

Select the types of activity you want to include in your feed.

proposal: generalized collection migration UI #91

open opened by boltless.me

As an atproto service, we will face situations where we need all users to migrate their existing records to new collection/lexicon schema.

For example,

  • #294 will merge two different repo.*.comment collections into one feed.comment
  • There is ongoing discussion to use did for repositories, which might require all users to migrate their existing records.

To support this, it will be really convenient if we have a generalized user data migration UI.

Implementation#

Similar to DB migration but it opposite way, the appview will have atproto_need_migrations table holding user did & migration name. When we change lexicon NSID or schema in backwards incompatible way, we will list all authors of legacy records to the atproto_need_migrations table. So when listed user logs in, we will show them about the need of record migrations on banner. Which navigates to a dedicated page.

In most cases, we can just drop the legacy table as the data is atprotated. We can refetch them when the user migrate their legacy records.

sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:xasnlahkri4ewmbuzly2rlc5/sh.tangled.repo.issue/3m5tix52bpr22