{"action":"created","comment":{"url":"https://api.github.com/repos/LinkValue/SiR/pulls/comments/29840203","id":29840203,"diff_hunk":"@@ -0,0 +1,34 @@\n+<?php\n+\n+namespace Application\\Migrations;\n+\n+use Doctrine\\DBAL\\Migrations\\AbstractMigration;\n+use Doctrine\\DBAL\\Schema\\Schema;\n+\n+/**\n+ * Auto-generated Migration: Please modify to your needs!\n+ */\n+class Version20150425172630 extends AbstractMigration\n+{\n+    /**\n+     * @param Schema $schema\n+     */\n+    public function up(Schema $schema)\n+    {\n+        // this up() migration is auto-generated, please modify it to your needs\n+        $this->abortIf($this->connection->getDatabasePlatform()->getName() != 'mysql', 'Migration can only be executed safely on \\'mysql\\'.');\n+\n+        $this->addSql('CREATE TABLE partner (id INT AUTO_INCREMENT NOT NULL, distId INT NOT NULL, schoolId INT NOT NULL, firstname VARCHAR(45) NOT NULL, lastname VARCHAR(45) NOT NULL, email VARCHAR(45) NOT NULL, followedSchool INT NOT NULL, mobility VARCHAR(45) NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB');","path":"app/DoctrineMigrations/Version20150425172630.php","position":21,"original_position":21,"commit_id":"e2dc55193b4db8bc0339215262d94c1830af8b83","original_commit_id":"e2dc55193b4db8bc0339215262d94c1830af8b83","user":{"login":"JMLamodiere","id":6639701,"avatar_url":"https://avatars.githubusercontent.com/u/6639701?v=3","gravatar_id":"","url":"https://api.github.com/users/JMLamodiere","html_url":"https://github.com/JMLamodiere","followers_url":"https://api.github.com/users/JMLamodiere/followers","following_url":"https://api.github.com/users/JMLamodiere/following{/other_user}","gists_url":"https://api.github.com/users/JMLamodiere/gists{/gist_id}","starred_url":"https://api.github.com/users/JMLamodiere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JMLamodiere/subscriptions","organizations_url":"https://api.github.com/users/JMLamodiere/orgs","repos_url":"https://api.github.com/users/JMLamodiere/repos","events_url":"https://api.github.com/users/JMLamodiere/events{/privacy}","received_events_url":"https://api.github.com/users/JMLamodiere/received_events","type":"User","site_admin":false},"body":"Dans la manyToOne, tu as appelé la joinColumn `school_id`, donc je pense que le `schoolId` en camelCase de cette migration n'est plus bon. Tu pourrais tenter de supprimer cette migration et la regénérer, voir si ça corrige ?","created_at":"2015-05-07T10:25:15Z","updated_at":"2015-05-07T10:25:15Z","html_url":"https://github.com/LinkValue/SiR/pull/29#discussion_r29840203","pull_request_url":"https://api.github.com/repos/LinkValue/SiR/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/LinkValue/SiR/pulls/comments/29840203"},"html":{"href":"https://github.com/LinkValue/SiR/pull/29#discussion_r29840203"},"pull_request":{"href":"https://api.github.com/repos/LinkValue/SiR/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/LinkValue/SiR/pulls/29","id":34109272,"html_url":"https://github.com/LinkValue/SiR/pull/29","diff_url":"https://github.com/LinkValue/SiR/pull/29.diff","patch_url":"https://github.com/LinkValue/SiR/pull/29.patch","issue_url":"https://api.github.com/repos/LinkValue/SiR/issues/29","number":29,"state":"open","locked":false,"title":"[WIP] Partner partner","user":{"login":"holoflins","id":7629895,"avatar_url":"https://avatars.githubusercontent.com/u/7629895?v=3","gravatar_id":"","url":"https://api.github.com/users/holoflins","html_url":"https://github.com/holoflins","followers_url":"https://api.github.com/users/holoflins/followers","following_url":"https://api.github.com/users/holoflins/following{/other_user}","gists_url":"https://api.github.com/users/holoflins/gists{/gist_id}","starred_url":"https://api.github.com/users/holoflins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holoflins/subscriptions","organizations_url":"https://api.github.com/users/holoflins/orgs","repos_url":"https://api.github.com/users/holoflins/repos","events_url":"https://api.github.com/users/holoflins/events{/privacy}","received_events_url":"https://api.github.com/users/holoflins/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-25T16:57:53Z","updated_at":"2015-05-07T10:25:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"26dc278742521c2167b4ebdf0a2bb463a62296e3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LinkValue/SiR/pulls/29/commits","review_comments_url":"https://api.github.com/repos/LinkValue/SiR/pulls/29/comments","review_comment_url":"https://api.github.com/repos/LinkValue/SiR/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LinkValue/SiR/issues/29/comments","statuses_url":"https://api.github.com/repos/LinkValue/SiR/statuses/e2dc55193b4db8bc0339215262d94c1830af8b83","head":{"label":"LinkValue:partner-partner","ref":"partner-partner","sha":"e2dc55193b4db8bc0339215262d94c1830af8b83","user":{"login":"LinkValue","id":8301788,"avatar_url":"https://avatars.githubusercontent.com/u/8301788?v=3","gravatar_id":"","url":"https://api.github.com/users/LinkValue","html_url":"https://github.com/LinkValue","followers_url":"https://api.github.com/users/LinkValue/followers","following_url":"https://api.github.com/users/LinkValue/following{/other_user}","gists_url":"https://api.github.com/users/LinkValue/gists{/gist_id}","starred_url":"https://api.github.com/users/LinkValue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LinkValue/subscriptions","organizations_url":"https://api.github.com/users/LinkValue/orgs","repos_url":"https://api.github.com/users/LinkValue/repos","events_url":"https://api.github.com/users/LinkValue/events{/privacy}","received_events_url":"https://api.github.com/users/LinkValue/received_events","type":"Organization","site_admin":false},"repo":{"id":31067295,"name":"SiR","full_name":"LinkValue/SiR","owner":{"login":"LinkValue","id":8301788,"avatar_url":"https://avatars.githubusercontent.com/u/8301788?v=3","gravatar_id":"","url":"https://api.github.com/users/LinkValue","html_url":"https://github.com/LinkValue","followers_url":"https://api.github.com/users/LinkValue/followers","following_url":"https://api.github.com/users/LinkValue/following{/other_user}","gists_url":"https://api.github.com/users/LinkValue/gists{/gist_id}","starred_url":"https://api.github.com/users/LinkValue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LinkValue/subscriptions","organizations_url":"https://api.github.com/users/LinkValue/orgs","repos_url":"https://api.github.com/users/LinkValue/repos","events_url":"https://api.github.com/users/LinkValue/events{/privacy}","received_events_url":"https://api.github.com/users/LinkValue/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LinkValue/SiR","description":"","fork":false,"url":"https://api.github.com/repos/LinkValue/SiR","forks_url":"https://api.github.com/repos/LinkValue/SiR/forks","keys_url":"https://api.github.com/repos/LinkValue/SiR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LinkValue/SiR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LinkValue/SiR/teams","hooks_url":"https://api.github.com/repos/LinkValue/SiR/hooks","issue_events_url":"https://api.github.com/repos/LinkValue/SiR/issues/events{/number}","events_url":"https://api.github.com/repos/LinkValue/SiR/events","assignees_url":"https://api.github.com/repos/LinkValue/SiR/assignees{/user}","branches_url":"https://api.github.com/repos/LinkValue/SiR/branches{/branch}","tags_url":"https://api.github.com/repos/LinkValue/SiR/tags","blobs_url":"https://api.github.com/repos/LinkValue/SiR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LinkValue/SiR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LinkValue/SiR/git/refs{/sha}","trees_url":"https://api.github.com/repos/LinkValue/SiR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LinkValue/SiR/statuses/{sha}","languages_url":"https://api.github.com/repos/LinkValue/SiR/languages","stargazers_url":"https://api.github.com/repos/LinkValue/SiR/stargazers","contributors_url":"https://api.github.com/repos/LinkValue/SiR/contributors","subscribers_url":"https://api.github.com/repos/LinkValue/SiR/subscribers","subscription_url":"https://api.github.com/repos/LinkValue/SiR/subscription","commits_url":"https://api.github.com/repos/LinkValue/SiR/commits{/sha}","git_commits_url":"https://api.github.com/repos/LinkValue/SiR/git/commits{/sha}","comments_url":"https://api.github.com/repos/LinkValue/SiR/comments{/number}","issue_comment_url":"https://api.github.com/repos/LinkValue/SiR/issues/comments{/number}","contents_url":"https://api.github.com/repos/LinkValue/SiR/contents/{+path}","compare_url":"https://api.github.com/repos/LinkValue/SiR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LinkValue/SiR/merges","archive_url":"https://api.github.com/repos/LinkValue/SiR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LinkValue/SiR/downloads","issues_url":"https://api.github.com/repos/LinkValue/SiR/issues{/number}","pulls_url":"https://api.github.com/repos/LinkValue/SiR/pulls{/number}","milestones_url":"https://api.github.com/repos/LinkValue/SiR/milestones{/number}","notifications_url":"https://api.github.com/repos/LinkValue/SiR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LinkValue/SiR/labels{/name}","releases_url":"https://api.github.com/repos/LinkValue/SiR/releases{/id}","created_at":"2015-02-20T14:04:05Z","updated_at":"2015-04-27T11:32:17Z","pushed_at":"2015-05-02T14:57:24Z","git_url":"git://github.com/LinkValue/SiR.git","ssh_url":"git@github.com:LinkValue/SiR.git","clone_url":"https://github.com/LinkValue/SiR.git","svn_url":"https://github.com/LinkValue/SiR","homepage":null,"size":21491,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":2,"default_branch":"develop"}},"base":{"label":"LinkValue:develop","ref":"develop","sha":"ee557a207d317a64412b7ce7275c3a53d51e93f1","user":{"login":"LinkValue","id":8301788,"avatar_url":"https://avatars.githubusercontent.com/u/8301788?v=3","gravatar_id":"","url":"https://api.github.com/users/LinkValue","html_url":"https://github.com/LinkValue","followers_url":"https://api.github.com/users/LinkValue/followers","following_url":"https://api.github.com/users/LinkValue/following{/other_user}","gists_url":"https://api.github.com/users/LinkValue/gists{/gist_id}","starred_url":"https://api.github.com/users/LinkValue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LinkValue/subscriptions","organizations_url":"https://api.github.com/users/LinkValue/orgs","repos_url":"https://api.github.com/users/LinkValue/repos","events_url":"https://api.github.com/users/LinkValue/events{/privacy}","received_events_url":"https://api.github.com/users/LinkValue/received_events","type":"Organization","site_admin":false},"repo":{"id":31067295,"name":"SiR","full_name":"LinkValue/SiR","owner":{"login":"LinkValue","id":8301788,"avatar_url":"https://avatars.githubusercontent.com/u/8301788?v=3","gravatar_id":"","url":"https://api.github.com/users/LinkValue","html_url":"https://github.com/LinkValue","followers_url":"https://api.github.com/users/LinkValue/followers","following_url":"https://api.github.com/users/LinkValue/following{/other_user}","gists_url":"https://api.github.com/users/LinkValue/gists{/gist_id}","starred_url":"https://api.github.com/users/LinkValue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LinkValue/subscriptions","organizations_url":"https://api.github.com/users/LinkValue/orgs","repos_url":"https://api.github.com/users/LinkValue/repos","events_url":"https://api.github.com/users/LinkValue/events{/privacy}","received_events_url":"https://api.github.com/users/LinkValue/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LinkValue/SiR","description":"","fork":false,"url":"https://api.github.com/repos/LinkValue/SiR","forks_url":"https://api.github.com/repos/LinkValue/SiR/forks","keys_url":"https://api.github.com/repos/LinkValue/SiR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LinkValue/SiR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LinkValue/SiR/teams","hooks_url":"https://api.github.com/repos/LinkValue/SiR/hooks","issue_events_url":"https://api.github.com/repos/LinkValue/SiR/issues/events{/number}","events_url":"https://api.github.com/repos/LinkValue/SiR/events","assignees_url":"https://api.github.com/repos/LinkValue/SiR/assignees{/user}","branches_url":"https://api.github.com/repos/LinkValue/SiR/branches{/branch}","tags_url":"https://api.github.com/repos/LinkValue/SiR/tags","blobs_url":"https://api.github.com/repos/LinkValue/SiR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LinkValue/SiR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LinkValue/SiR/git/refs{/sha}","trees_url":"https://api.github.com/repos/LinkValue/SiR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LinkValue/SiR/statuses/{sha}","languages_url":"https://api.github.com/repos/LinkValue/SiR/languages","stargazers_url":"https://api.github.com/repos/LinkValue/SiR/stargazers","contributors_url":"https://api.github.com/repos/LinkValue/SiR/contributors","subscribers_url":"https://api.github.com/repos/LinkValue/SiR/subscribers","subscription_url":"https://api.github.com/repos/LinkValue/SiR/subscription","commits_url":"https://api.github.com/repos/LinkValue/SiR/commits{/sha}","git_commits_url":"https://api.github.com/repos/LinkValue/SiR/git/commits{/sha}","comments_url":"https://api.github.com/repos/LinkValue/SiR/comments{/number}","issue_comment_url":"https://api.github.com/repos/LinkValue/SiR/issues/comments{/number}","contents_url":"https://api.github.com/repos/LinkValue/SiR/contents/{+path}","compare_url":"https://api.github.com/repos/LinkValue/SiR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LinkValue/SiR/merges","archive_url":"https://api.github.com/repos/LinkValue/SiR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LinkValue/SiR/downloads","issues_url":"https://api.github.com/repos/LinkValue/SiR/issues{/number}","pulls_url":"https://api.github.com/repos/LinkValue/SiR/pulls{/number}","milestones_url":"https://api.github.com/repos/LinkValue/SiR/milestones{/number}","notifications_url":"https://api.github.com/repos/LinkValue/SiR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LinkValue/SiR/labels{/name}","releases_url":"https://api.github.com/repos/LinkValue/SiR/releases{/id}","created_at":"2015-02-20T14:04:05Z","updated_at":"2015-04-27T11:32:17Z","pushed_at":"2015-05-02T14:57:24Z","git_url":"git://github.com/LinkValue/SiR.git","ssh_url":"git@github.com:LinkValue/SiR.git","clone_url":"https://github.com/LinkValue/SiR.git","svn_url":"https://github.com/LinkValue/SiR","homepage":null,"size":21491,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/LinkValue/SiR/pulls/29"},"html":{"href":"https://github.com/LinkValue/SiR/pull/29"},"issue":{"href":"https://api.github.com/repos/LinkValue/SiR/issues/29"},"comments":{"href":"https://api.github.com/repos/LinkValue/SiR/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/LinkValue/SiR/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/LinkValue/SiR/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LinkValue/SiR/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/LinkValue/SiR/statuses/e2dc55193b4db8bc0339215262d94c1830af8b83"}}}}