add volunteer fields to user

This commit is contained in:
Stella Rouzi 2014-07-14 17:35:03 +03:00
parent 50e75c6dd4
commit e37e0a50c8
2 changed files with 13 additions and 1 deletions

View file

@ -0,0 +1,8 @@
class AddVolunteerFieldsToUser < ActiveRecord::Migration
def change
add_column :users, :mobile, :string
add_column :users, :tshirt, :string
add_column :users, :languages, :string
add_column :users, :volunteer_experience, :text
end
end

View file

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20140627165718) do
ActiveRecord::Schema.define(version: 20140714141156) do
create_table "ahoy_events", force: true do |t|
t.uuid "visit_id"
@ -430,6 +430,10 @@ ActiveRecord::Schema.define(version: 20140627165718) do
t.string "avatar_content_type"
t.integer "avatar_file_size"
t.datetime "avatar_updated_at"
t.string "mobile"
t.string "tshirt"
t.string "languages"
t.text "volunteer_experience"
end
add_index "users", ["confirmation_token"], name: "index_users_on_confirmation_token", unique: true