add image_id and action_id fields to job_skills
This commit is contained in:
parent
834192dc11
commit
b341185b54
2 changed files with 13 additions and 0 deletions
9
db/migrate/20251215154313_add_fields_to_job_skills.rb
Normal file
9
db/migrate/20251215154313_add_fields_to_job_skills.rb
Normal 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
|
||||||
|
|
@ -529,6 +529,10 @@ ActiveRecord::Schema[8.0].define(version: 2025_12_15_173625) do
|
||||||
t.boolean "emp", default: false
|
t.boolean "emp", default: false
|
||||||
t.integer "order"
|
t.integer "order"
|
||||||
t.boolean "base", default: false
|
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"
|
t.index ["job_id"], name: "index_job_skills_on_job_id"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue