{"action":"created","issue":{"url":"https://api.github.com/repos/phalcon/phalcon-devtools/issues/611","repository_url":"https://api.github.com/repos/phalcon/phalcon-devtools","labels_url":"https://api.github.com/repos/phalcon/phalcon-devtools/issues/611/labels{/name}","comments_url":"https://api.github.com/repos/phalcon/phalcon-devtools/issues/611/comments","events_url":"https://api.github.com/repos/phalcon/phalcon-devtools/issues/611/events","html_url":"https://github.com/phalcon/phalcon-devtools/pull/611","id":134773643,"number":611,"title":"Rename migrations","user":{"login":"zinovyev","id":1627048,"avatar_url":"https://avatars.githubusercontent.com/u/1627048?v=3","gravatar_id":"","url":"https://api.github.com/users/zinovyev","html_url":"https://github.com/zinovyev","followers_url":"https://api.github.com/users/zinovyev/followers","following_url":"https://api.github.com/users/zinovyev/following{/other_user}","gists_url":"https://api.github.com/users/zinovyev/gists{/gist_id}","starred_url":"https://api.github.com/users/zinovyev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zinovyev/subscriptions","organizations_url":"https://api.github.com/users/zinovyev/orgs","repos_url":"https://api.github.com/users/zinovyev/repos","events_url":"https://api.github.com/users/zinovyev/events{/privacy}","received_events_url":"https://api.github.com/users/zinovyev/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phalcon/phalcon-devtools/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/phalcon/phalcon-devtools/labels/migrations","name":"migrations","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-19T05:14:54Z","updated_at":"2016-02-19T15:29:00Z","closed_at":"2016-02-19T15:28:53Z","pull_request":{"url":"https://api.github.com/repos/phalcon/phalcon-devtools/pulls/611","html_url":"https://github.com/phalcon/phalcon-devtools/pull/611","diff_url":"https://github.com/phalcon/phalcon-devtools/pull/611.diff","patch_url":"https://github.com/phalcon/phalcon-devtools/pull/611.patch"},"body":"Two specific flags added:\r\n\r\n    --ts-base (timestap based) for \"migration run\" action\r\n    --descr (description) for \"migration generate\" action.\r\n\r\nThe migrations folder will be called named the timestamp based mode 1455789042106821_new_name, where \"1455789042106821\" is the current timestamp (in microseconds) and \"new_name\" is the value of the --descr option.\r\nWhen you're working in team on a big project, it is a convinient way to name migrations after current timestamp value, thus your migrations wouldn't be overriden.\r\n\r\nP.S. Moved from PR to 2.0.x by the suggestion of @sergeyklay "},"comment":{"url":"https://api.github.com/repos/phalcon/phalcon-devtools/issues/comments/186260125","html_url":"https://github.com/phalcon/phalcon-devtools/pull/611#issuecomment-186260125","issue_url":"https://api.github.com/repos/phalcon/phalcon-devtools/issues/611","id":186260125,"user":{"login":"sergeyklay","id":1256298,"avatar_url":"https://avatars.githubusercontent.com/u/1256298?v=3","gravatar_id":"","url":"https://api.github.com/users/sergeyklay","html_url":"https://github.com/sergeyklay","followers_url":"https://api.github.com/users/sergeyklay/followers","following_url":"https://api.github.com/users/sergeyklay/following{/other_user}","gists_url":"https://api.github.com/users/sergeyklay/gists{/gist_id}","starred_url":"https://api.github.com/users/sergeyklay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergeyklay/subscriptions","organizations_url":"https://api.github.com/users/sergeyklay/orgs","repos_url":"https://api.github.com/users/sergeyklay/repos","events_url":"https://api.github.com/users/sergeyklay/events{/privacy}","received_events_url":"https://api.github.com/users/sergeyklay/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T15:29:00Z","updated_at":"2016-02-19T15:29:00Z","body":"Thanks"}}