{"action":"closed","issue":{"url":"https://api.github.com/repos/datanucleus/datanucleus-rdbms/issues/133","repository_url":"https://api.github.com/repos/datanucleus/datanucleus-rdbms","labels_url":"https://api.github.com/repos/datanucleus/datanucleus-rdbms/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/datanucleus/datanucleus-rdbms/issues/133/comments","events_url":"https://api.github.com/repos/datanucleus/datanucleus-rdbms/issues/133/events","html_url":"https://github.com/datanucleus/datanucleus-rdbms/issues/133","id":184489743,"number":133,"title":"Constraints with Postgres","user":{"login":"prquinlan","id":22982046,"avatar_url":"https://avatars.githubusercontent.com/u/22982046?v=3","gravatar_id":"","url":"https://api.github.com/users/prquinlan","html_url":"https://github.com/prquinlan","followers_url":"https://api.github.com/users/prquinlan/followers","following_url":"https://api.github.com/users/prquinlan/following{/other_user}","gists_url":"https://api.github.com/users/prquinlan/gists{/gist_id}","starred_url":"https://api.github.com/users/prquinlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prquinlan/subscriptions","organizations_url":"https://api.github.com/users/prquinlan/orgs","repos_url":"https://api.github.com/users/prquinlan/repos","events_url":"https://api.github.com/users/prquinlan/events{/privacy}","received_events_url":"https://api.github.com/users/prquinlan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-21T13:49:42Z","updated_at":"2016-10-21T13:56:11Z","closed_at":"2016-10-21T13:56:11Z","body":"The attached example is using postgres 9.4, java 8 and the latest versions 5.0.1. \r\n\r\nWe can run mvn datanucleus:schema-create and successfully create the schema. However, if we run that a second time, the constraints between the two tables are replicated. \r\n\r\nI am not sure where the fault lies, but it appears that DN is behaving as if these constraints are missing and re-adding each time. \r\n[constraintTest.zip](https://github.com/datanucleus/datanucleus-rdbms/files/544436/constraintTest.zip)\r\n"}}
{"actor":{"display_login":"andyjefferson"}}