Closed sumeetjain closed 8 years ago
I want to make sure I'm understanding our schema correctly. Salaries should be related to both Offers AND Positions right?
Right now the salary table schema is:
create_table "salaries", force: :cascade do |t|
t.integer "amount"
t.integer "rate"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.integer "position_id"
end
How should I be linking an Offer to a Salary? I know we have had this conversation before but I can't easily locate a written record of it.
I don't remember either. For now, just add offer_id
as another field to Salary.
Thanks! Addressing this in my mega-branch for #71