when I have a HasAndBelongsToMany relation between to tables, automigration creates a new table with and id property, how can I prevent to create that?
For example:
id: number name: string
id: number name: string
id: number assemblyId: number partId: number
I don't what the id property in the AssemblyParts table.
I doubt you can, this is a generic solution and some databases enforce/encourage to have an ID in binding tables for unique rows. This is not a major problem for you, is it?