/ Published in: SQL
This is useful if you are changing a Drupal site's file upload path and/or changing from a private to a public file store.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
UPDATE files SET filepath = REPLACE(filepath,'path/to/search','path/to/replace');