{"action":"opened","number":1214,"pull_request":{"url":"https://api.github.com/repos/propelorm/Propel2/pulls/1214","id":73199951,"html_url":"https://github.com/propelorm/Propel2/pull/1214","diff_url":"https://github.com/propelorm/Propel2/pull/1214.diff","patch_url":"https://github.com/propelorm/Propel2/pull/1214.patch","issue_url":"https://api.github.com/repos/propelorm/Propel2/issues/1214","number":1214,"state":"open","locked":false,"title":"Added possibility to decorate generated migration files with a custom suffix","user":{"login":"motin","id":793037,"avatar_url":"https://avatars.githubusercontent.com/u/793037?v=3","gravatar_id":"","url":"https://api.github.com/users/motin","html_url":"https://github.com/motin","followers_url":"https://api.github.com/users/motin/followers","following_url":"https://api.github.com/users/motin/following{/other_user}","gists_url":"https://api.github.com/users/motin/gists{/gist_id}","starred_url":"https://api.github.com/users/motin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motin/subscriptions","organizations_url":"https://api.github.com/users/motin/orgs","repos_url":"https://api.github.com/users/motin/repos","events_url":"https://api.github.com/users/motin/events{/privacy}","received_events_url":"https://api.github.com/users/motin/received_events","type":"User","site_admin":false},"body":"It is rather hard to find a certain migration with the current filenames:\r\n\r\n```\r\nPropelMigration_1456744599.php\r\nPropelMigration_1457186710.php\r\nPropelMigration_1457212222.php\r\nPropelMigration_1458157955.php\r\nPropelMigration_1461870141.php\r\nPropelMigration_1462121943.php\r\nPropelMigration_1462860381.php\r\nPropelMigration_1462946617.php\r\nPropelMigration_1463383579.php\r\nPropelMigration_1464338765.php\r\n```\r\n\r\nThis PR allows an optional suffix to be specified when creating migrations, so that the filenames directly hint at what the migrations contain:\r\n\r\n```\r\nPropelMigration_1456744599_import_process_data_model_enhancements.php\r\nPropelMigration_1457186710_user_entry_rows_cascade_delete.php\r\nPropelMigration_1457212222_data_model_correction.php\r\nPropelMigration_1458157955_transaction_row_additional_booleans.php\r\nPropelMigration_1461870141_additional_fields.php\r\nPropelMigration_1462121943_input_results_created.php\r\nPropelMigration_1462860381_import_improvements.php\r\nPropelMigration_1462946617_core_mapping_indices.php\r\nPropelMigration_1463383579_correct_utf8_encoding_for_foo_table.php\r\nPropelMigration_1464338765_user_table_definition_correction.php\r\n```\r\n\r\n","created_at":"2016-06-09T11:47:48Z","updated_at":"2016-06-09T11:47:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/propelorm/Propel2/pulls/1214/commits","review_comments_url":"https://api.github.com/repos/propelorm/Propel2/pulls/1214/comments","review_comment_url":"https://api.github.com/repos/propelorm/Propel2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/propelorm/Propel2/issues/1214/comments","statuses_url":"https://api.github.com/repos/propelorm/Propel2/statuses/8e0d3b308acb697db548d923a010e2ab387700af","head":{"label":"motin:migration-file-suffix","ref":"migration-file-suffix","sha":"8e0d3b308acb697db548d923a010e2ab387700af","user":{"login":"motin","id":793037,"avatar_url":"https://avatars.githubusercontent.com/u/793037?v=3","gravatar_id":"","url":"https://api.github.com/users/motin","html_url":"https://github.com/motin","followers_url":"https://api.github.com/users/motin/followers","following_url":"https://api.github.com/users/motin/following{/other_user}","gists_url":"https://api.github.com/users/motin/gists{/gist_id}","starred_url":"https://api.github.com/users/motin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motin/subscriptions","organizations_url":"https://api.github.com/users/motin/orgs","repos_url":"https://api.github.com/users/motin/repos","events_url":"https://api.github.com/users/motin/events{/privacy}","received_events_url":"https://api.github.com/users/motin/received_events","type":"User","site_admin":false},"repo":{"id":47260922,"name":"Propel2","full_name":"motin/Propel2","owner":{"login":"motin","id":793037,"avatar_url":"https://avatars.githubusercontent.com/u/793037?v=3","gravatar_id":"","url":"https://api.github.com/users/motin","html_url":"https://github.com/motin","followers_url":"https://api.github.com/users/motin/followers","following_url":"https://api.github.com/users/motin/following{/other_user}","gists_url":"https://api.github.com/users/motin/gists{/gist_id}","starred_url":"https://api.github.com/users/motin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motin/subscriptions","organizations_url":"https://api.github.com/users/motin/orgs","repos_url":"https://api.github.com/users/motin/repos","events_url":"https://api.github.com/users/motin/events{/privacy}","received_events_url":"https://api.github.com/users/motin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/motin/Propel2","description":"Propel2 is an open-source high-performance Object-Relational Mapping (ORM) for PHP >= 5.4","fork":true,"url":"https://api.github.com/repos/motin/Propel2","forks_url":"https://api.github.com/repos/motin/Propel2/forks","keys_url":"https://api.github.com/repos/motin/Propel2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/motin/Propel2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/motin/Propel2/teams","hooks_url":"https://api.github.com/repos/motin/Propel2/hooks","issue_events_url":"https://api.github.com/repos/motin/Propel2/issues/events{/number}","events_url":"https://api.github.com/repos/motin/Propel2/events","assignees_url":"https://api.github.com/repos/motin/Propel2/assignees{/user}","branches_url":"https://api.github.com/repos/motin/Propel2/branches{/branch}","tags_url":"https://api.github.com/repos/motin/Propel2/tags","blobs_url":"https://api.github.com/repos/motin/Propel2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/motin/Propel2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/motin/Propel2/git/refs{/sha}","trees_url":"https://api.github.com/repos/motin/Propel2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/motin/Propel2/statuses/{sha}","languages_url":"https://api.github.com/repos/motin/Propel2/languages","stargazers_url":"https://api.github.com/repos/motin/Propel2/stargazers","contributors_url":"https://api.github.com/repos/motin/Propel2/contributors","subscribers_url":"https://api.github.com/repos/motin/Propel2/subscribers","subscription_url":"https://api.github.com/repos/motin/Propel2/subscription","commits_url":"https://api.github.com/repos/motin/Propel2/commits{/sha}","git_commits_url":"https://api.github.com/repos/motin/Propel2/git/commits{/sha}","comments_url":"https://api.github.com/repos/motin/Propel2/comments{/number}","issue_comment_url":"https://api.github.com/repos/motin/Propel2/issues/comments{/number}","contents_url":"https://api.github.com/repos/motin/Propel2/contents/{+path}","compare_url":"https://api.github.com/repos/motin/Propel2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/motin/Propel2/merges","archive_url":"https://api.github.com/repos/motin/Propel2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/motin/Propel2/downloads","issues_url":"https://api.github.com/repos/motin/Propel2/issues{/number}","pulls_url":"https://api.github.com/repos/motin/Propel2/pulls{/number}","milestones_url":"https://api.github.com/repos/motin/Propel2/milestones{/number}","notifications_url":"https://api.github.com/repos/motin/Propel2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/motin/Propel2/labels{/name}","releases_url":"https://api.github.com/repos/motin/Propel2/releases{/id}","deployments_url":"https://api.github.com/repos/motin/Propel2/deployments","created_at":"2015-12-02T12:56:48Z","updated_at":"2015-12-02T12:56:53Z","pushed_at":"2016-06-09T11:37:07Z","git_url":"git://github.com/motin/Propel2.git","ssh_url":"git@github.com:motin/Propel2.git","clone_url":"https://github.com/motin/Propel2.git","svn_url":"https://github.com/motin/Propel2","homepage":"http://propelorm.org/","size":25965,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"propelorm:master","ref":"master","sha":"7538037876cef6461a3e359ed8873d45d0d9ecab","user":{"login":"propelorm","id":954795,"avatar_url":"https://avatars.githubusercontent.com/u/954795?v=3","gravatar_id":"","url":"https://api.github.com/users/propelorm","html_url":"https://github.com/propelorm","followers_url":"https://api.github.com/users/propelorm/followers","following_url":"https://api.github.com/users/propelorm/following{/other_user}","gists_url":"https://api.github.com/users/propelorm/gists{/gist_id}","starred_url":"https://api.github.com/users/propelorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/propelorm/subscriptions","organizations_url":"https://api.github.com/users/propelorm/orgs","repos_url":"https://api.github.com/users/propelorm/repos","events_url":"https://api.github.com/users/propelorm/events{/privacy}","received_events_url":"https://api.github.com/users/propelorm/received_events","type":"Organization","site_admin":false},"repo":{"id":2524463,"name":"Propel2","full_name":"propelorm/Propel2","owner":{"login":"propelorm","id":954795,"avatar_url":"https://avatars.githubusercontent.com/u/954795?v=3","gravatar_id":"","url":"https://api.github.com/users/propelorm","html_url":"https://github.com/propelorm","followers_url":"https://api.github.com/users/propelorm/followers","following_url":"https://api.github.com/users/propelorm/following{/other_user}","gists_url":"https://api.github.com/users/propelorm/gists{/gist_id}","starred_url":"https://api.github.com/users/propelorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/propelorm/subscriptions","organizations_url":"https://api.github.com/users/propelorm/orgs","repos_url":"https://api.github.com/users/propelorm/repos","events_url":"https://api.github.com/users/propelorm/events{/privacy}","received_events_url":"https://api.github.com/users/propelorm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/propelorm/Propel2","description":"Propel2 is an open-source high-performance Object-Relational Mapping (ORM) for modern PHP","fork":false,"url":"https://api.github.com/repos/propelorm/Propel2","forks_url":"https://api.github.com/repos/propelorm/Propel2/forks","keys_url":"https://api.github.com/repos/propelorm/Propel2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/propelorm/Propel2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/propelorm/Propel2/teams","hooks_url":"https://api.github.com/repos/propelorm/Propel2/hooks","issue_events_url":"https://api.github.com/repos/propelorm/Propel2/issues/events{/number}","events_url":"https://api.github.com/repos/propelorm/Propel2/events","assignees_url":"https://api.github.com/repos/propelorm/Propel2/assignees{/user}","branches_url":"https://api.github.com/repos/propelorm/Propel2/branches{/branch}","tags_url":"https://api.github.com/repos/propelorm/Propel2/tags","blobs_url":"https://api.github.com/repos/propelorm/Propel2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/propelorm/Propel2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/propelorm/Propel2/git/refs{/sha}","trees_url":"https://api.github.com/repos/propelorm/Propel2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/propelorm/Propel2/statuses/{sha}","languages_url":"https://api.github.com/repos/propelorm/Propel2/languages","stargazers_url":"https://api.github.com/repos/propelorm/Propel2/stargazers","contributors_url":"https://api.github.com/repos/propelorm/Propel2/contributors","subscribers_url":"https://api.github.com/repos/propelorm/Propel2/subscribers","subscription_url":"https://api.github.com/repos/propelorm/Propel2/subscription","commits_url":"https://api.github.com/repos/propelorm/Propel2/commits{/sha}","git_commits_url":"https://api.github.com/repos/propelorm/Propel2/git/commits{/sha}","comments_url":"https://api.github.com/repos/propelorm/Propel2/comments{/number}","issue_comment_url":"https://api.github.com/repos/propelorm/Propel2/issues/comments{/number}","contents_url":"https://api.github.com/repos/propelorm/Propel2/contents/{+path}","compare_url":"https://api.github.com/repos/propelorm/Propel2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/propelorm/Propel2/merges","archive_url":"https://api.github.com/repos/propelorm/Propel2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/propelorm/Propel2/downloads","issues_url":"https://api.github.com/repos/propelorm/Propel2/issues{/number}","pulls_url":"https://api.github.com/repos/propelorm/Propel2/pulls{/number}","milestones_url":"https://api.github.com/repos/propelorm/Propel2/milestones{/number}","notifications_url":"https://api.github.com/repos/propelorm/Propel2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/propelorm/Propel2/labels{/name}","releases_url":"https://api.github.com/repos/propelorm/Propel2/releases{/id}","deployments_url":"https://api.github.com/repos/propelorm/Propel2/deployments","created_at":"2011-10-06T06:50:51Z","updated_at":"2016-06-08T11:07:47Z","pushed_at":"2016-06-09T02:32:06Z","git_url":"git://github.com/propelorm/Propel2.git","ssh_url":"git@github.com:propelorm/Propel2.git","clone_url":"https://github.com/propelorm/Propel2.git","svn_url":"https://github.com/propelorm/Propel2","homepage":"http://propelorm.org/","size":30289,"stargazers_count":827,"watchers_count":827,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":237,"mirror_url":null,"open_issues_count":187,"forks":237,"open_issues":187,"watchers":827,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/propelorm/Propel2/pulls/1214"},"html":{"href":"https://github.com/propelorm/Propel2/pull/1214"},"issue":{"href":"https://api.github.com/repos/propelorm/Propel2/issues/1214"},"comments":{"href":"https://api.github.com/repos/propelorm/Propel2/issues/1214/comments"},"review_comments":{"href":"https://api.github.com/repos/propelorm/Propel2/pulls/1214/comments"},"review_comment":{"href":"https://api.github.com/repos/propelorm/Propel2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/propelorm/Propel2/pulls/1214/commits"},"statuses":{"href":"https://api.github.com/repos/propelorm/Propel2/statuses/8e0d3b308acb697db548d923a010e2ab387700af"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":117,"deletions":11,"changed_files":4}}
{"actor":{"display_login":"motin"}}