{"action":"created","issue":{"url":"https://api.github.com/repos/nextras/orm/issues/143","repository_url":"https://api.github.com/repos/nextras/orm","labels_url":"https://api.github.com/repos/nextras/orm/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/nextras/orm/issues/143/comments","events_url":"https://api.github.com/repos/nextras/orm/issues/143/events","html_url":"https://github.com/nextras/orm/issues/143","id":118671818,"number":143,"title":"Support for views","user":{"login":"f3l1x","id":538058,"avatar_url":"https://avatars.githubusercontent.com/u/538058?v=3","gravatar_id":"","url":"https://api.github.com/users/f3l1x","html_url":"https://github.com/f3l1x","followers_url":"https://api.github.com/users/f3l1x/followers","following_url":"https://api.github.com/users/f3l1x/following{/other_user}","gists_url":"https://api.github.com/users/f3l1x/gists{/gist_id}","starred_url":"https://api.github.com/users/f3l1x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f3l1x/subscriptions","organizations_url":"https://api.github.com/users/f3l1x/orgs","repos_url":"https://api.github.com/users/f3l1x/repos","events_url":"https://api.github.com/users/f3l1x/events{/privacy}","received_events_url":"https://api.github.com/users/f3l1x/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nextras/orm/labels/1-discussion","name":"1-discussion","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-11-24T18:16:12Z","updated_at":"2016-02-11T10:10:11Z","closed_at":null,"body":"Is there any way how to define view entity?"},"comment":{"url":"https://api.github.com/repos/nextras/orm/issues/comments/182790814","html_url":"https://github.com/nextras/orm/issues/143#issuecomment-182790814","issue_url":"https://api.github.com/repos/nextras/orm/issues/143","id":182790814,"user":{"login":"f3l1x","id":538058,"avatar_url":"https://avatars.githubusercontent.com/u/538058?v=3","gravatar_id":"","url":"https://api.github.com/users/f3l1x","html_url":"https://github.com/f3l1x","followers_url":"https://api.github.com/users/f3l1x/followers","following_url":"https://api.github.com/users/f3l1x/following{/other_user}","gists_url":"https://api.github.com/users/f3l1x/gists{/gist_id}","starred_url":"https://api.github.com/users/f3l1x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f3l1x/subscriptions","organizations_url":"https://api.github.com/users/f3l1x/orgs","repos_url":"https://api.github.com/users/f3l1x/repos","events_url":"https://api.github.com/users/f3l1x/events{/privacy}","received_events_url":"https://api.github.com/users/f3l1x/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T10:10:11Z","updated_at":"2016-02-11T10:10:11Z","body":"@hrach \r\n\r\nI found same cache problem at 2.0.0-r1 with Postgres. \r\n\r\nI had normal entity with defined primary key, but at storage (psql) I had bigint **id** column which didn't be marked as primary. ORM / nette/cache has created 0 lenght file and frozen down. \r\n\r\nI have changed id to primary key and it works, but my point is. There could be some error / exception. Dont you think?"}}