Lost column in database

hello. I recently deleted a column from a database , but now I want it back .
I still can find it in the json file . is there any methode to rebuild the database from json file ?

Is this a custom field?

no it’s not

If you edit the modified timestamp in the JSON and run bench migrate it should update the table.

1 Like

I sorry edit what exactly ?

In the doctype’s JSON file, there is a “modified” key. It will look like this:
"modified": "2021-09-28 13:10:47.955401

Change the date stamp to todays date. Example:
"modified": "2021-12-08 13:10:47.955401

then run the command bench migrate
It will look for all the JSON’s with a new modified timestamp and update the table accordingly.

amazing!, Thank you