Duplicate Column Name 'oid' when changing One to Many relation.

18 May '16, 05:44 PM
4,367 Views
No Forum Badges

I get the following error;

com.webratio.commons.db.DBException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate column name 'oid'

when I try to add a one to many relation to the columns Item and ItemPhoto.
In SQL it adds a column 'oid' instead of 'item_oid'.

 

Is this a bug?

 

 

 
x 0
Follow
Answer Answer at this question and get points!
No Forum Badges

When I switch the source and target from the relation (which has nothing to do with the sql), it is fixed.
This should be a bug.

 
x 0
Answer at this question and get points!

Related questions