rename database column 'key' to 'key_name'