Michael Schaufelberger
Explore posts from serversHow do I use the rsc-rq-prefetch example with a protected procedure?
Okay, this is not true. It only works if there's a prefetch going on. Probably related to https://github.com/vercel/next.js/discussions/60640
24 replies
What is good practice with Xata's (Multi-version Schema) Migrations?
The 'multi-version' feature of Xata migrations isn't really something that helps you to iterate on a migrationOkay, thanks. I wondered if that would've been a nice side effect. So how do you specifically do this:
A better workflow would be to make the schema changes on a development branch where migrations can be edited and applied multiple times until the migration is correct.Could you make an example? In the past, with other tools, I generated the migrations and the rolled them back again until I had one that was "final". Is there a Xata tool that we can use to do that without having to manually create new migrations for rolling back one? And to finally create the multi-version migration if possible.
4 replies
When are connections to the cluster available during the moving of a branch?
Hi @tsg
Thank you for the update. I've just started provisioning a new cluster. As soon that's done, I will make a backup and start the move of the main branch again. I will ping you if the move is taking more than 30 minutes - no need to actively monitor from the start. I'll post an update here if it's successful as well.
50 replies
When are connections to the cluster available during the moving of a branch?
Thank you.
It would be great to have it moved before Monday 9AM CEST. Preferably, to a cluster with the same version as the shared cluster is on right now.
I can do this over the weekend myself, I assume, correct? If yes, I will provision a new cluster (as we were in hurry, we didn't think about the other cluster settings) and terminate the current one.
50 replies
When are connections to the cluster available during the moving of a branch?
Is there anything we can do differently regarding cluster provisioning? Feel free to provision a new one with the same scalability settings and/or a different version etc. if necessary.
50 replies