Advertisement
albatrossdigital

fix file urls in body

Nov 26th, 2014
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SAS 0.27 KB | None | 0 0
  1. update `field_data_body`  set body_value = SELECT REPLACE(field_data_body, 'sites/default/files','sites/cohealthinitiative.org/files');
  2. update `field_revision_body`   set body_value = SELECT REPLACE(field_revision_body, 'sites/default/files','sites/cohealthinitiative.org/files');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement