Add more attributes to candidate - completes: #100
This commit is contained in:
7
db/migrate/20170227154554_add_attributes_to_candidate.rb
Normal file
7
db/migrate/20170227154554_add_attributes_to_candidate.rb
Normal file
@ -0,0 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
class AddAttributesToCandidate < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
add_column :candidates, :skill_needs, :string, after: :project
|
||||
add_column :candidates, :position, :string, after: :project
|
||||
end
|
||||
end
|
@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20170210165110) do
|
||||
ActiveRecord::Schema.define(version: 20170227154554) do
|
||||
|
||||
create_table "answers", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
|
||||
t.integer "candidate_id"
|
||||
@ -31,6 +31,8 @@ ActiveRecord::Schema.define(version: 20170210165110) do
|
||||
t.string "email"
|
||||
t.string "experience"
|
||||
t.string "project"
|
||||
t.string "position"
|
||||
t.string "skill_needs"
|
||||
t.integer "recruiter_id"
|
||||
t.boolean "completed"
|
||||
t.datetime "completed_at"
|
||||
|
Reference in New Issue
Block a user