Created a field in a document ABC, now the field name of the field was automatically named “abc”.
Now after making the field I realised that the field name was wrong so I changed the field name at the mysql level from “abc” to “xyz”
Now the actual field name in the database is xyz but the field name being shown in the custom field list, and I presume, in the customize form view is being shown as the old “abc”.
hello everyone,
Can u please suggest me if i change the field name direct from model’s .json file then than i’ll change database manually or can i change via terminal because my field name of in the database is different from my .json file
I just renamed a field by logging into mysql using the following command:
ALTER TABLE tabSupplier CHANGE tin_number tin_no VARCHAR(255);
The change has been done successfully at the mysql level but the supplier form shows the field as blank only. I have already run the command bench frappe --latest [sitename] but the changes are not getting reflected.