{"action":"opened","issue":{"url":"https://api.github.com/repos/npgsql/npgsql/issues/759","labels_url":"https://api.github.com/repos/npgsql/npgsql/issues/759/labels{/name}","comments_url":"https://api.github.com/repos/npgsql/npgsql/issues/759/comments","events_url":"https://api.github.com/repos/npgsql/npgsql/issues/759/events","html_url":"https://github.com/npgsql/npgsql/issues/759","id":105120075,"number":759,"title":"Generate properties values on update","user":{"login":"roji","id":1862641,"avatar_url":"https://avatars.githubusercontent.com/u/1862641?v=3","gravatar_id":"","url":"https://api.github.com/users/roji","html_url":"https://github.com/roji","followers_url":"https://api.github.com/users/roji/followers","following_url":"https://api.github.com/users/roji/following{/other_user}","gists_url":"https://api.github.com/users/roji/gists{/gist_id}","starred_url":"https://api.github.com/users/roji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roji/subscriptions","organizations_url":"https://api.github.com/users/roji/orgs","repos_url":"https://api.github.com/users/roji/repos","events_url":"https://api.github.com/users/roji/events{/privacy}","received_events_url":"https://api.github.com/users/roji/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npgsql/npgsql/labels/ef7","name":"ef7","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"roji","id":1862641,"avatar_url":"https://avatars.githubusercontent.com/u/1862641?v=3","gravatar_id":"","url":"https://api.github.com/users/roji","html_url":"https://github.com/roji","followers_url":"https://api.github.com/users/roji/followers","following_url":"https://api.github.com/users/roji/following{/other_user}","gists_url":"https://api.github.com/users/roji/gists{/gist_id}","starred_url":"https://api.github.com/users/roji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roji/subscriptions","organizations_url":"https://api.github.com/users/roji/orgs","repos_url":"https://api.github.com/users/roji/repos","events_url":"https://api.github.com/users/roji/events{/privacy}","received_events_url":"https://api.github.com/users/roji/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-09-06T22:16:32Z","updated_at":"2015-09-06T22:16:32Z","closed_at":null,"body":"EF7 allows defining a property as `ValueGeneratedOnAddOrUpdate`, but PostgreSQL doesn't have an easy built-in feature for this. This needs to be implemented with triggers - so define the function and trigger when the column is added (namespace?), drop it when it's removed..."}}