mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Add additional social media fields to contacts
+ YouTube + Blog Simplify logic in the view, and refactor the test #BetterPlace
This commit is contained in:
parent
cd150aaf21
commit
a3adf8318d
6 changed files with 51 additions and 35 deletions
|
|
@ -0,0 +1,6 @@
|
|||
class AddYoutubeAndBlogToContacts < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
add_column :contacts, :youtube, :string
|
||||
add_column :contacts, :blog, :string
|
||||
end
|
||||
end
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20181009000259) do
|
||||
ActiveRecord::Schema.define(version: 20181113195810) do
|
||||
|
||||
create_table "answers", force: :cascade do |t|
|
||||
t.string "title"
|
||||
|
|
@ -123,6 +123,8 @@ ActiveRecord::Schema.define(version: 20181009000259) do
|
|||
t.datetime "updated_at"
|
||||
t.string "sponsor_email"
|
||||
t.string "mastodon"
|
||||
t.string "youtube"
|
||||
t.string "blog"
|
||||
end
|
||||
|
||||
create_table "delayed_jobs", force: :cascade do |t|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue