Is there any way to rename field and map the previous data on that field?
@Ronok I don't think that's a built-in feature, but you could certainly make a migration that updates the name of that field. Are you familiar with migrations?
I can do db migration but was looking if there was a built-in feature
@Ronok Ah okay! I've had this happen before, I hope the process isn't too taxing. I wrote up a small doc on Migrations, sharing it here:
https://gist.github.com/notchris/c5155073bbbb08a487b349c52f6823aeThanks
Star
Discord
online
Get help straight from the Payload team with an Enterprise License.