Fields that were deleted are still not recovered even after pulling from the master

After mistakenly deleting some fields in my doctype, I attempted to revert the changes using git stash and then pulling from the master branch with git pull upstream master . While the JSON file was updated, the fields are still not visible in the Edit doctype interface.

Migrate the site.

1 Like

i did that, but the fields still aren’t appearing

bench --site [sitename.com] migrate
bench build --force

and if not solved then apply bench update (first take a backup).

1 Like

bench --site [sitename.com] migrate
bench build --force
The changes aren’t being removed as expected.
Currently, I’m unable to update the apps. Are there any alternative options available to resolve this issue?

I think, if migrate the site and build the app then will recover everything, no need for the bench update.