unique id added to user_id with  rails g migration add_index_to_table_name column_name:uniq
user id field created
User ID field issue resolved
User ID field issue resolved