How to rename a custom field?

I found the answer

UPDATE `wp_postmeta` SET `meta_key` = 'ref' WHERE `meta_key` = 'refer'

use this part in your SQL

Reference

Leave a Comment