Better document database differences for Pleroma migrations #699

Merged
floatingghost merged 2 commits from Oneric/akkoma:doc_pleroma-migration-db into develop 2024-02-24 04:33:43 +00:00
Member

As a followup to #684 and AkkomaGang/landing-site#11

I did not attempt to actually perform a migration to Akkoma and back to Pleroma, but given I (should have) only rearranged existing instructions and added an additional backup step, this hopefully shouldn’t be any less good than before.

As a followup to https://akkoma.dev/AkkomaGang/akkoma/pulls/684 and https://akkoma.dev/AkkomaGang/landing-site/pulls/11 I did not attempt to actually perform a migration to Akkoma and back to Pleroma, but given I (should have) only rearranged existing instructions and added an additional backup step, this hopefully shouldn’t be any less good than before.
floatingghost requested changes 2024-02-20 16:00:28 +00:00
floatingghost left a comment
Owner

some small nits

some small nits
@ -24,0 +25,4 @@
As time goes on Akkoma and Pleroma added or removed different features
and reorganised the database in a different way. If you want to be able to
migrate back to Pleroma without loosing any affected data, youll want to

spelling, losing

spelling, `losing`
Oneric marked this conversation as resolved
@ -24,0 +39,4 @@
back to Pleroma or future Akkoma upgrades might affect them, so perhaps back them up as well:
- the `birthday` of users and their `show_birthday` setting
- the `expires_at` at key of in the `user_relationships` table

should that at be there?

should that `at` be there?
Author
Member

nope, removed it; thx

nope, removed it; thx
Oneric marked this conversation as resolved
Oneric force-pushed doc_pleroma-migration-db from 91542d214e to 18d8d3339f 2024-02-20 16:38:00 +00:00 Compare
Oneric requested review from floatingghost 2024-02-20 16:39:02 +00:00
Oneric force-pushed doc_pleroma-migration-db from 18d8d3339f to bff2812a93 2024-02-23 22:54:39 +00:00 Compare
Author
Member

Updated to reflect both already store instance metadata albeit slightly differently, as noted in #225 .

Not sure if the different timestamp type will cause migration issues in one or both directions.

Updated to reflect _both_ already store instance metadata albeit slightly differently, as noted in https://akkoma.dev/AkkomaGang/akkoma/issues/225 . Not sure if the different timestamp type will cause migration issues in one or both directions.

all good, thankies

all good, thankies
floatingghost merged commit cdf73e0ac8 into develop 2024-02-24 04:33:43 +00:00
floatingghost deleted branch doc_pleroma-migration-db 2024-02-24 04:33:49 +00:00
Sign in to join this conversation.
No description provided.