add country table.
send forain key to job_posts table with this command -
rails generate migration Add_country_To_job_posts country:references
add country table.

then add forain key in job_posts table with this command-

rails generate migration Add_country_To_job_posts country:references