Skip to content

Commit

Permalink
removed unique constraint from survey_responses model
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtoddmathes committed Feb 17, 2024
1 parent 0614509 commit cfec6ae
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 cfec6ae

Please sign in to comment.