{"action":"created","issue":{"url":"https://api.github.com/repos/pgmodeler/pgmodeler/issues/751","labels_url":"https://api.github.com/repos/pgmodeler/pgmodeler/issues/751/labels{/name}","comments_url":"https://api.github.com/repos/pgmodeler/pgmodeler/issues/751/comments","events_url":"https://api.github.com/repos/pgmodeler/pgmodeler/issues/751/events","html_url":"https://github.com/pgmodeler/pgmodeler/issues/751","id":106063264,"number":751,"title":"Object ID sequencing mess","user":{"login":"RomanHargrave","id":6024227,"avatar_url":"https://avatars.githubusercontent.com/u/6024227?v=3","gravatar_id":"","url":"https://api.github.com/users/RomanHargrave","html_url":"https://github.com/RomanHargrave","followers_url":"https://api.github.com/users/RomanHargrave/followers","following_url":"https://api.github.com/users/RomanHargrave/following{/other_user}","gists_url":"https://api.github.com/users/RomanHargrave/gists{/gist_id}","starred_url":"https://api.github.com/users/RomanHargrave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RomanHargrave/subscriptions","organizations_url":"https://api.github.com/users/RomanHargrave/orgs","repos_url":"https://api.github.com/users/RomanHargrave/repos","events_url":"https://api.github.com/users/RomanHargrave/events{/privacy}","received_events_url":"https://api.github.com/users/RomanHargrave/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-11T18:09:37Z","updated_at":"2015-09-11T19:51:24Z","closed_at":null,"body":"I am currently making some changes to a database schema I created in PGModeler. One of these changes led to creating a custom type which was referenced by a table created at an earlier time. Obviously, ID is going to be an issue, and a simple swap should fix the problem -- but it does not. \r\n\r\nWhen trying to swap object ID's, nothing happens. The table that is dependent on the type keeps its original ID (4082), as does the type (4190). It is apparent that this is some manner of underlying bug, as when the validator attempts the same solution, it contentiously fails and retries, and will be stuck in that loop until it is cancelled.\r\n\r\nAt the moment, it is likely that I will need to edit the `dbm` file by hand, which can be mildly infuriating.\r\n\r\nI am experiencing this issue at commit 9271d9d452434151c278e1c1b324ce721ba2deea. Due to confidentiality issues, I can not post the `dbm` file here."},"comment":{"url":"https://api.github.com/repos/pgmodeler/pgmodeler/issues/comments/139646391","html_url":"https://github.com/pgmodeler/pgmodeler/issues/751#issuecomment-139646391","issue_url":"https://api.github.com/repos/pgmodeler/pgmodeler/issues/751","id":139646391,"user":{"login":"rkhaotix","id":2205476,"avatar_url":"https://avatars.githubusercontent.com/u/2205476?v=3","gravatar_id":"","url":"https://api.github.com/users/rkhaotix","html_url":"https://github.com/rkhaotix","followers_url":"https://api.github.com/users/rkhaotix/followers","following_url":"https://api.github.com/users/rkhaotix/following{/other_user}","gists_url":"https://api.github.com/users/rkhaotix/gists{/gist_id}","starred_url":"https://api.github.com/users/rkhaotix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkhaotix/subscriptions","organizations_url":"https://api.github.com/users/rkhaotix/orgs","repos_url":"https://api.github.com/users/rkhaotix/repos","events_url":"https://api.github.com/users/rkhaotix/events{/privacy}","received_events_url":"https://api.github.com/users/rkhaotix/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T19:51:24Z","updated_at":"2015-09-11T19:51:24Z","body":"We can reproduce this bug in a small model?\r\n\r\nAnother question, is not clear to me but the composite type references a table and that same table references the composite type? If this is the situation we have a redundant reference and unfortunatelly can't be solve by pgModeler! This is one of the limitations of the tool. :("}}