Use nil instead of empty string w/ new db constraints (#2300)
This commit is contained in:
parent
72dfcae674
commit
7ade338002
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ module Moderator
|
|||
|
||||
def remove_profile_info
|
||||
user.update_columns(
|
||||
twitter_username: "", github_username: "", website_url: "", summary: "",
|
||||
twitter_username: nil, github_username: nil, website_url: "", summary: "",
|
||||
location: "", education: "", employer_name: "", employer_url: "", employment_title: "",
|
||||
mostly_work_with: "", currently_learning: "", currently_hacking_on: "", available_for: "",
|
||||
email_public: false, facebook_url: nil, dribbble_url: nil, medium_url: nil, stackoverflow_url: nil,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue