Add Index to join table with unique checks

migration to add index for join table

Ruby on Rails add index to join table, generate migration 1. make uniqueness index on areas_deals:*This stops the association from being able to be duplicated, but throws an error causing bad UI, we will address that below** 2. Check the schema and make sure you got what you want. We wanted this added: t.index [“area_id”, … Read more