mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
Merge pull request #4000 from gschlager/website-fix
FIX: Remove invalid 'http://' website from profiles
This commit is contained in:
commit
d456150bb2
5
db/migrate/20160206210202_remove_invalid_websites.rb
Normal file
5
db/migrate/20160206210202_remove_invalid_websites.rb
Normal file
@ -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
Block a user