FIX: Remove invalid 'http://' website from profiles
This commit is contained in:
parent
9a83100529
commit
9dba531567
|
@ -0,0 +1,5 @@
|
||||||
|
class RemoveInvalidWebsites < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
execute "UPDATE user_profiles SET website = NULL WHERE website = 'http://'"
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in New Issue