Skip to content

Commit

Permalink
Merge pull request #20 from tamu-edu-students/survey_responses_model_fix
Browse files Browse the repository at this point in the history
removed unique constraint from survey_responses model
  • Loading branch information
jacobtoddmathes authored Feb 17, 2024
2 parents b627bea + cfec6ae commit 552c249
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 31 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
class RemoveUniqueConstraintFromSurveyResponses < ActiveRecord::Migration[7.1]
def change
remove_index :survey_responses, name: 'index_survey_responses_on_user_id'
add_index :survey_responses, :user_id
end
end
60 changes: 29 additions & 31 deletions rails_root/db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 552c249

Please sign in to comment.