Use the correct Unicode character in MarkAsDeletedWithName
This commit is contained in:
parent
6b400b4f96
commit
d52315287d
2 changed files with 7 additions and 1 deletions
|
|
@ -0,0 +1,6 @@
|
|||
class ChangeMarkedAsDeletedNames < ActiveRecord::Migration
|
||||
def up
|
||||
execute "UPDATE groups SET name = REPLACE(name, '\\u2020', '\u2020') WHERE deleted_at IS NOT NULL"
|
||||
execute "UPDATE suppliers SET name = REPLACE(name, '\\u2020', '\u2020') WHERE deleted_at IS NOT NULL"
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue