adds candidate recruitment project label field

completes #93
This commit is contained in:
Mark Moser
2017-02-08 16:05:37 -06:00
parent 5c3691ebe0
commit 58d3fbd7c2
14 changed files with 46 additions and 7 deletions

View File

@ -0,0 +1,6 @@
# frozen_string_literal: true
class AddProjectToClient < ActiveRecord::Migration[5.0]
def change
add_column :candidates, :project, :string, after: :experience
end
end

View File

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20161204220527) do
ActiveRecord::Schema.define(version: 20170208212526) do
create_table "answers", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
t.integer "candidate_id"
@ -30,6 +30,7 @@ ActiveRecord::Schema.define(version: 20161204220527) do
t.string "name"
t.string "email"
t.string "experience"
t.string "project"
t.integer "recruiter_id"
t.boolean "completed"
t.datetime "completed_at"