mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Merge pull request #312 from differentreality/user_fields_volunteers
Add volunteer fields to user
This commit is contained in:
commit
aee73fb442
2 changed files with 13 additions and 1 deletions
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue