DockYard-Academy / curriculum

MIT License
945 stars 245 forks source link

Many-To-Many Relationships #1030

Open stebbinsi2 opened 1 year ago

stebbinsi2 commented 1 year ago

Describe the issue In Join Table Migration, the unique index has a bit of a miss spelling

Reproduction Steps (If Applicable) Steps to reproduce the behavior:

  1. Go to Join Table Migration section
  2. Go to create(unique_index(:post_tags, [:post_id, :tag_id]))
  3. See error: I believe is should be "posts_tags, ...."

image

BrooklinJazz commented 1 year ago

That's correct. Good catch.