I'm trying to get rid of one custom field I do not need anymore.

I've removed field definition from custom/modules/ProductTemplates/Ext/Vardefs/vardefs.ext.php, from custom/Extension/modules/ProductTemplates/Ext/Vardefs/ file, also I removed the column from the table with SQL.

But every time I do Quick Rebuild&Repair SugarCRM creates the field.

I saw "custom_fields" table in the db but it's empty.

Where does SugarCRM 6.2.1 keep information about custom fields?