{"action":"closed","issue":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/4226","repository_url":"https://api.github.com/repos/cakephp/cakephp","labels_url":"https://api.github.com/repos/cakephp/cakephp/issues/4226/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/4226/comments","events_url":"https://api.github.com/repos/cakephp/cakephp/issues/4226/events","html_url":"https://github.com/cakephp/cakephp/issues/4226","id":39926876,"number":4226,"title":"[Postgres][UnitTest] Define custom sequence name in TestFixture","user":{"login":"vietvq","id":3970604,"avatar_url":"https://avatars.githubusercontent.com/u/3970604?v=3","gravatar_id":"","url":"https://api.github.com/users/vietvq","html_url":"https://github.com/vietvq","followers_url":"https://api.github.com/users/vietvq/followers","following_url":"https://api.github.com/users/vietvq/following{/other_user}","gists_url":"https://api.github.com/users/vietvq/gists{/gist_id}","starred_url":"https://api.github.com/users/vietvq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vietvq/subscriptions","organizations_url":"https://api.github.com/users/vietvq/orgs","repos_url":"https://api.github.com/users/vietvq/repos","events_url":"https://api.github.com/users/vietvq/events{/privacy}","received_events_url":"https://api.github.com/users/vietvq/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cakephp/cakephp/labels/Enhancement","name":"Enhancement","color":"bfe5bf"},{"url":"https://api.github.com/repos/cakephp/cakephp/labels/postgres","name":"postgres","color":"FFFFFF"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cakephp/cakephp/milestones/78","html_url":"https://github.com/cakephp/cakephp/milestones/2.9.0","labels_url":"https://api.github.com/repos/cakephp/cakephp/milestones/78/labels","id":1568362,"number":78,"title":"2.9.0","description":"New features API compatible with 2.x","creator":{"login":"markstory","id":24086,"avatar_url":"https://avatars.githubusercontent.com/u/24086?v=3","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":23,"state":"open","created_at":"2016-02-07T01:57:21Z","updated_at":"2016-05-20T22:37:30Z","due_on":"2016-07-10T04:00:00Z","closed_at":null},"comments":3,"created_at":"2014-08-11T04:09:59Z","updated_at":"2016-05-20T22:37:30Z","closed_at":"2016-05-20T22:37:30Z","body":"[Postgres]\r\n\r\nI have table named `Entries` and model `Entry` related. And I want `entry_id_seq` instead of default `\"{$table_name}_{$id}_seq\"` (`entries_id_seq`) as sequence name.\r\n\r\nIn Model, I can define:\r\n```php\r\nclass Entry extends AppModel {\r\n    public $sequence = 'entry_id_seq'; // or 'public.entry_id_seq'.\r\n    ...\r\n}\r\n```\r\nAnd can't in:\r\n```php\r\nclass EntryFixture extends CakeTestFixture {\r\n    // public $sequence = 'entry_id_seq';\r\n}\r\n```"}}
{"actor":{"display_login":"lorenzo"}}