Account migration on same instance

Hello! I would like to change my username but remain on the same instance. My understanding is the best way to do this is to migrate the user.

  1. The documentation seems sparse; what’s the correct flow for migrating from one account to another?
  2. Since I’m staying on the same instance, is there a way I can keep my posts? E.g. via DB surgery or through some other method?

Thanks :3

sadly keeping your posts isn’t possible, since your username is baked into your activitypub addressing - but theoretically migration on the same instance should just work the same as going to a remote one

oh and for the record, the process is

  1. on the NEW account:
    go into settings → security → add an alias - point to the OLD account, i.e a@b.com

  2. on the OLD account:

settings → security, move account -enter the NEW account

This is a little unfortunate, I would really like to migrate the posts so I can get rid of my old username completely.

I realize I could write a script to repost all of my posts to the new account, but then the timestamps would be wrong. Is there a way I could use DB surgery to add the posts to the DB and prevent the server from pushing these posts out? Then they could be backdated correctly and hopefully wouldn’t break federation.

Just wanted to give this a friendly bump. Is it going to break things on the Akkoma side if I do this? Seems like federation should be okay as long as the new account doesn’t have any followers when I make all the posts. I’ve started modifying my Akkoma to allow retroposting (though I know that should be done with caution); just wondering if internally it’s going to cause issues since the posts won’t be chronologically ordered anymore (across different accounts - on every individual account posts will still be ordered correctly)