Merge pull request #4000 from gschlager/website-fix

FIX: Remove invalid 'http://' website from profiles
This commit is contained in:
Arpit Jalan 2016-02-07 09:00:32 +05:30
commit d456150bb2
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
class RemoveInvalidWebsites < ActiveRecord::Migration
def change
execute "UPDATE user_profiles SET website = NULL WHERE website = 'http://'"
end
end