add image_id and action_id fields to job_skills

This commit is contained in:
Justin Edmund 2025-12-15 16:08:53 -08:00
parent 834192dc11
commit b341185b54
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,9 @@
class AddFieldsToJobSkills < ActiveRecord::Migration[8.0]
def change
add_column :job_skills, :image_id, :string
add_column :job_skills, :action_id, :integer
add_index :job_skills, :image_id
add_index :job_skills, :action_id
end
end

View file

@ -529,6 +529,10 @@ ActiveRecord::Schema[8.0].define(version: 2025_12_15_173625) do
t.boolean "emp", default: false
t.integer "order"
t.boolean "base", default: false
t.string "image_id"
t.integer "action_id"
t.index ["action_id"], name: "index_job_skills_on_action_id"
t.index ["image_id"], name: "index_job_skills_on_image_id"
t.index ["job_id"], name: "index_job_skills_on_job_id"
end