propelorm/Propel — Issue #154: duplicate key in schema.sql
Author: jlammertink
Created: 2011-10-20 22:09:54+00:00
State: open

When generating a many 2 many table Propel generates an extra key which isn't nccessary in schema.sql.

PRIMARY: site_id, user_id <- which is what we want
sites_users_FI_2:	user_id <- loop continues but not necessary (already in PRIMARY)

Hope it's clear enough