We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specifying
create_table :course_assessment_question_multiple_response_options do |t| t.references :question, null: false, foreign_key: { name: :fk__course_assessment_multiple_response_option_question, references: :course_assessment_question_multiple_responses } end
errors with a name too long error. This works:
create_table :course_assessment_question_multiple_response_options do |t| t.references :question, null: false, index: { name: :fk__course_assessment_multiple_response_option_question, }, foreign_key: { references: :course_assessment_question_multiple_responses } end
The text was updated successfully, but these errors were encountered:
(don't ask why my schema names are so long, the app is crazy complex...)
Sorry, something went wrong.
No branches or pull requests
Specifying
errors with a name too long error. This works:
The text was updated successfully, but these errors were encountered: