Redmine-Jobs/db/migrate/20231121110847_add_job_to_t...

6 lines
133 B
Ruby

class AddJobToTimelog < ActiveRecord::Migration[6.1]
def change
add_reference :time_entries, :job, foreign_key: true
end
end