6
db/migrate/20170208212526_add_project_to_client.rb
Normal file
6
db/migrate/20170208212526_add_project_to_client.rb
Normal 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
|
@ -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"
|
||||
|
Reference in New Issue
Block a user