Modeler: migration should check existing relationships
------------------------------------------------------

                 Key: CAY-1384
                 URL: https://issues.apache.org/jira/browse/CAY-1384
             Project: Cayenne
          Issue Type: Bug
    Affects Versions: 3.1M1
            Reporter: Andrey Razumovsky


Migration should be smarter at adding new relationships to model. E.g. I have 
Artist and Painting with rel toArtist. Now I add new column ARTIST_NEW_ID to 
database, and do migrate. It fails, because auto-generate relationship with 
name "toArtist" already exists. We should check it and insert it with name 
"toArtist2"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to