How do i update the changes which i have made in doctype json

I have added a new field in the doctype json. But the changes are not reflecting in the UI.
So how can i see changes which has been done in the doctype json. Is there any command to do it or is there any other way which i should i use ?

1 Like

Run bench migrate command to sync the doctype in database

i have tried the command but it not reflecting

Are the changes reflecting when you are creating a new doctype? or you are only having problems in already created doctypes.

i am having problems in already created doctypes

Have you cleared the website cache (using CTRL+SHFT+R or manually deletion) before reloading the doctype?

yes i have cleared website cache

Hi Sir. Do you have any idea if it happens to newly created doctype?

Changing the modified datetime in the .json file and then doing bench migrate will update the respective DocType in the database.

The modified datetime in the .json file should be after the modified datetime of the respective DocType entry in the database.