Add additional social media fields to contacts

+ YouTube
+ Blog

Simplify logic in the view, and refactor the test #BetterPlace
This commit is contained in:
James Mason 2018-11-13 13:47:20 -08:00 committed by Henne Vogelsang
parent cd150aaf21
commit a3adf8318d
6 changed files with 51 additions and 35 deletions

View file

@ -0,0 +1,6 @@
class AddYoutubeAndBlogToContacts < ActiveRecord::Migration[5.0]
def change
add_column :contacts, :youtube, :string
add_column :contacts, :blog, :string
end
end