I am trying to migrate subject_id and course_id to the users table by typing:
rails generate migration add_course_id_and_subject_id_to_users course_id:integer, subject_id:integer
However, it results in the error:
_add_course_id_and_subject_id_to_users.rb:4: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '('
Not sure why this is happening.