I’m changing my table names to match the implicit ...
# orm-help
g
I’m changing my table names to match the implicit in-between-table naming conventions: https://www.prisma.io/docs/concepts/components/prisma-schema/relations/many-to-many-relations#conventions-for-relation-tables-in-implicit-m-n-relations Is it normal to get this scary diff warning?
Copy code
It should be understood as the set of changes to get from the expected schema to the actual schema.

[+] Added tables
  - _RecipeToFilterOption

[-] Removed tables
  - recipes_filters_join

[*] Changed the `_RecipeToFilterOption` table
  [+] Added unique index on columns (A, B)
  [+] Added index on columns (B)
  [+] Added foreign key on columns (A)
  [+] Added foreign key on columns (B)

[*] Changed the `recipes_filters_join` table
  [-] Removed foreign key on columns (recipeFilterOptionId)
  [-] Removed foreign key on columns (recipeId)
āœ… 1
I tried removing the explicit joining table from the schema file and doing
db pull
but Prisma is adding it back in šŸ˜ž
Turns out the issue was due to me using the model name to create the join table name not the table name
#fixed
šŸ‘ 3