diff --git a/db/migrate/20140714141156_add_volunteer_fields_to_user.rb b/db/migrate/20140714141156_add_volunteer_fields_to_user.rb new file mode 100644 index 00000000..cf69a37f --- /dev/null +++ b/db/migrate/20140714141156_add_volunteer_fields_to_user.rb @@ -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 diff --git a/db/schema.rb b/db/schema.rb index 4e1a18ad..ad4bad11 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -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