Generates a table name for a field revision archive table.
$name: The field structure.
A string containing the generated name for the database table.
function _field_sql_storage_revision_tablename($field) {
if ($field['deleted']) {
return "field_deleted_revision_{$field['id']}";
}
else {
return "field_revision_{$field['field_name']}";
}
}