Skip to content

Instantly share code, notes, and snippets.

@zuigon
Created April 3, 2020 10:21
Show Gist options
  • Save zuigon/1fe6ed2c97615c95353831dfc9414d1b to your computer and use it in GitHub Desktop.
Save zuigon/1fe6ed2c97615c95353831dfc9414d1b to your computer and use it in GitHub Desktop.
UPDATE url_alias SET alias = replace(replace(replace(replace(replace(
lower(alias), 'đ','d'), 'č','c'), 'ć','c'), 'ž','z'), 'š','s')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment