{"action":"created","comment":{"url":"https://api.github.com/repos/openfun/fun-apps/pulls/comments/34148564","id":34148564,"diff_hunk":"@@ -0,0 +1,55 @@\n+# -*- coding: utf-8 -*-\n+from south.v2 import SchemaMigration\n+\n+\n+class Migration(SchemaMigration):\n+    '''\n+    This migration relies on a migration from other application: The creation\n+    of the table is actually done in the backoffice application. That's\n+    because we are moving an existing table.\n+    '''\n+\n+    depends_on = (\n+        ('backoffice', '0004_move_backoffice_courses_and_teachers'),\n+    )\n+\n+    def forwards(self, orm):\n+        pass\n+\n+    def backwards(self, orm):\n+        pass","path":"teachers/migrations/0001_initial.py","position":20,"original_position":20,"commit_id":"a7c512e8b0437d1bf10f8bff6655c403c63058ea","original_commit_id":"a7c512e8b0437d1bf10f8bff6655c403c63058ea","user":{"login":"regisb","id":44319,"avatar_url":"https://avatars.githubusercontent.com/u/44319?v=3","gravatar_id":"","url":"https://api.github.com/users/regisb","html_url":"https://github.com/regisb","followers_url":"https://api.github.com/users/regisb/followers","following_url":"https://api.github.com/users/regisb/following{/other_user}","gists_url":"https://api.github.com/users/regisb/gists{/gist_id}","starred_url":"https://api.github.com/users/regisb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/regisb/subscriptions","organizations_url":"https://api.github.com/users/regisb/orgs","repos_url":"https://api.github.com/users/regisb/repos","events_url":"https://api.github.com/users/regisb/events{/privacy}","received_events_url":"https://api.github.com/users/regisb/received_events","type":"User","site_admin":false},"body":"Cette migration est-elle nécessaire ?","created_at":"2015-07-08T13:46:52Z","updated_at":"2015-07-08T13:46:52Z","html_url":"https://github.com/openfun/fun-apps/pull/154#discussion_r34148564","pull_request_url":"https://api.github.com/repos/openfun/fun-apps/pulls/154","_links":{"self":{"href":"https://api.github.com/repos/openfun/fun-apps/pulls/comments/34148564"},"html":{"href":"https://github.com/openfun/fun-apps/pull/154#discussion_r34148564"},"pull_request":{"href":"https://api.github.com/repos/openfun/fun-apps/pulls/154"}}},"pull_request":{"url":"https://api.github.com/repos/openfun/fun-apps/pulls/154","id":38986366,"html_url":"https://github.com/openfun/fun-apps/pull/154","diff_url":"https://github.com/openfun/fun-apps/pull/154.diff","patch_url":"https://github.com/openfun/fun-apps/pull/154.patch","issue_url":"https://api.github.com/repos/openfun/fun-apps/issues/154","number":154,"state":"open","locked":false,"title":"Add new models for course metadata","user":{"login":"lazybird","id":2660255,"avatar_url":"https://avatars.githubusercontent.com/u/2660255?v=3","gravatar_id":"","url":"https://api.github.com/users/lazybird","html_url":"https://github.com/lazybird","followers_url":"https://api.github.com/users/lazybird/followers","following_url":"https://api.github.com/users/lazybird/following{/other_user}","gists_url":"https://api.github.com/users/lazybird/gists{/gist_id}","starred_url":"https://api.github.com/users/lazybird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lazybird/subscriptions","organizations_url":"https://api.github.com/users/lazybird/orgs","repos_url":"https://api.github.com/users/lazybird/repos","events_url":"https://api.github.com/users/lazybird/events{/privacy}","received_events_url":"https://api.github.com/users/lazybird/received_events","type":"User","site_admin":false},"body":"- Add new models for courses, subjects, teachers.\r\n- Refactor models from the backoffice application.","created_at":"2015-07-01T14:16:18Z","updated_at":"2015-07-08T13:46:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3ae16be77886ff1768e5557426b9175b49d50b08","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openfun/fun-apps/pulls/154/commits","review_comments_url":"https://api.github.com/repos/openfun/fun-apps/pulls/154/comments","review_comment_url":"https://api.github.com/repos/openfun/fun-apps/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openfun/fun-apps/issues/154/comments","statuses_url":"https://api.github.com/repos/openfun/fun-apps/statuses/a7c512e8b0437d1bf10f8bff6655c403c63058ea","head":{"label":"openfun:courses-metadata","ref":"courses-metadata","sha":"a7c512e8b0437d1bf10f8bff6655c403c63058ea","user":{"login":"openfun","id":7224891,"avatar_url":"https://avatars.githubusercontent.com/u/7224891?v=3","gravatar_id":"","url":"https://api.github.com/users/openfun","html_url":"https://github.com/openfun","followers_url":"https://api.github.com/users/openfun/followers","following_url":"https://api.github.com/users/openfun/following{/other_user}","gists_url":"https://api.github.com/users/openfun/gists{/gist_id}","starred_url":"https://api.github.com/users/openfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfun/subscriptions","organizations_url":"https://api.github.com/users/openfun/orgs","repos_url":"https://api.github.com/users/openfun/repos","events_url":"https://api.github.com/users/openfun/events{/privacy}","received_events_url":"https://api.github.com/users/openfun/received_events","type":"Organization","site_admin":false},"repo":{"id":20556967,"name":"fun-apps","full_name":"openfun/fun-apps","owner":{"login":"openfun","id":7224891,"avatar_url":"https://avatars.githubusercontent.com/u/7224891?v=3","gravatar_id":"","url":"https://api.github.com/users/openfun","html_url":"https://github.com/openfun","followers_url":"https://api.github.com/users/openfun/followers","following_url":"https://api.github.com/users/openfun/following{/other_user}","gists_url":"https://api.github.com/users/openfun/gists{/gist_id}","starred_url":"https://api.github.com/users/openfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfun/subscriptions","organizations_url":"https://api.github.com/users/openfun/orgs","repos_url":"https://api.github.com/users/openfun/repos","events_url":"https://api.github.com/users/openfun/events{/privacy}","received_events_url":"https://api.github.com/users/openfun/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openfun/fun-apps","description":"","fork":false,"url":"https://api.github.com/repos/openfun/fun-apps","forks_url":"https://api.github.com/repos/openfun/fun-apps/forks","keys_url":"https://api.github.com/repos/openfun/fun-apps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openfun/fun-apps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openfun/fun-apps/teams","hooks_url":"https://api.github.com/repos/openfun/fun-apps/hooks","issue_events_url":"https://api.github.com/repos/openfun/fun-apps/issues/events{/number}","events_url":"https://api.github.com/repos/openfun/fun-apps/events","assignees_url":"https://api.github.com/repos/openfun/fun-apps/assignees{/user}","branches_url":"https://api.github.com/repos/openfun/fun-apps/branches{/branch}","tags_url":"https://api.github.com/repos/openfun/fun-apps/tags","blobs_url":"https://api.github.com/repos/openfun/fun-apps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openfun/fun-apps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openfun/fun-apps/git/refs{/sha}","trees_url":"https://api.github.com/repos/openfun/fun-apps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openfun/fun-apps/statuses/{sha}","languages_url":"https://api.github.com/repos/openfun/fun-apps/languages","stargazers_url":"https://api.github.com/repos/openfun/fun-apps/stargazers","contributors_url":"https://api.github.com/repos/openfun/fun-apps/contributors","subscribers_url":"https://api.github.com/repos/openfun/fun-apps/subscribers","subscription_url":"https://api.github.com/repos/openfun/fun-apps/subscription","commits_url":"https://api.github.com/repos/openfun/fun-apps/commits{/sha}","git_commits_url":"https://api.github.com/repos/openfun/fun-apps/git/commits{/sha}","comments_url":"https://api.github.com/repos/openfun/fun-apps/comments{/number}","issue_comment_url":"https://api.github.com/repos/openfun/fun-apps/issues/comments{/number}","contents_url":"https://api.github.com/repos/openfun/fun-apps/contents/{+path}","compare_url":"https://api.github.com/repos/openfun/fun-apps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openfun/fun-apps/merges","archive_url":"https://api.github.com/repos/openfun/fun-apps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openfun/fun-apps/downloads","issues_url":"https://api.github.com/repos/openfun/fun-apps/issues{/number}","pulls_url":"https://api.github.com/repos/openfun/fun-apps/pulls{/number}","milestones_url":"https://api.github.com/repos/openfun/fun-apps/milestones{/number}","notifications_url":"https://api.github.com/repos/openfun/fun-apps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openfun/fun-apps/labels{/name}","releases_url":"https://api.github.com/repos/openfun/fun-apps/releases{/id}","created_at":"2014-06-06T08:42:58Z","updated_at":"2015-05-08T08:13:46Z","pushed_at":"2015-07-08T13:40:10Z","git_url":"git://github.com/openfun/fun-apps.git","ssh_url":"git@github.com:openfun/fun-apps.git","clone_url":"https://github.com/openfun/fun-apps.git","svn_url":"https://github.com/openfun/fun-apps","homepage":"","size":14088,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":1,"default_branch":"dev"}},"base":{"label":"openfun:dev","ref":"dev","sha":"7167c4033dd3961c7a88dee99b74907c4e01fae2","user":{"login":"openfun","id":7224891,"avatar_url":"https://avatars.githubusercontent.com/u/7224891?v=3","gravatar_id":"","url":"https://api.github.com/users/openfun","html_url":"https://github.com/openfun","followers_url":"https://api.github.com/users/openfun/followers","following_url":"https://api.github.com/users/openfun/following{/other_user}","gists_url":"https://api.github.com/users/openfun/gists{/gist_id}","starred_url":"https://api.github.com/users/openfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfun/subscriptions","organizations_url":"https://api.github.com/users/openfun/orgs","repos_url":"https://api.github.com/users/openfun/repos","events_url":"https://api.github.com/users/openfun/events{/privacy}","received_events_url":"https://api.github.com/users/openfun/received_events","type":"Organization","site_admin":false},"repo":{"id":20556967,"name":"fun-apps","full_name":"openfun/fun-apps","owner":{"login":"openfun","id":7224891,"avatar_url":"https://avatars.githubusercontent.com/u/7224891?v=3","gravatar_id":"","url":"https://api.github.com/users/openfun","html_url":"https://github.com/openfun","followers_url":"https://api.github.com/users/openfun/followers","following_url":"https://api.github.com/users/openfun/following{/other_user}","gists_url":"https://api.github.com/users/openfun/gists{/gist_id}","starred_url":"https://api.github.com/users/openfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfun/subscriptions","organizations_url":"https://api.github.com/users/openfun/orgs","repos_url":"https://api.github.com/users/openfun/repos","events_url":"https://api.github.com/users/openfun/events{/privacy}","received_events_url":"https://api.github.com/users/openfun/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openfun/fun-apps","description":"","fork":false,"url":"https://api.github.com/repos/openfun/fun-apps","forks_url":"https://api.github.com/repos/openfun/fun-apps/forks","keys_url":"https://api.github.com/repos/openfun/fun-apps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openfun/fun-apps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openfun/fun-apps/teams","hooks_url":"https://api.github.com/repos/openfun/fun-apps/hooks","issue_events_url":"https://api.github.com/repos/openfun/fun-apps/issues/events{/number}","events_url":"https://api.github.com/repos/openfun/fun-apps/events","assignees_url":"https://api.github.com/repos/openfun/fun-apps/assignees{/user}","branches_url":"https://api.github.com/repos/openfun/fun-apps/branches{/branch}","tags_url":"https://api.github.com/repos/openfun/fun-apps/tags","blobs_url":"https://api.github.com/repos/openfun/fun-apps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openfun/fun-apps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openfun/fun-apps/git/refs{/sha}","trees_url":"https://api.github.com/repos/openfun/fun-apps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openfun/fun-apps/statuses/{sha}","languages_url":"https://api.github.com/repos/openfun/fun-apps/languages","stargazers_url":"https://api.github.com/repos/openfun/fun-apps/stargazers","contributors_url":"https://api.github.com/repos/openfun/fun-apps/contributors","subscribers_url":"https://api.github.com/repos/openfun/fun-apps/subscribers","subscription_url":"https://api.github.com/repos/openfun/fun-apps/subscription","commits_url":"https://api.github.com/repos/openfun/fun-apps/commits{/sha}","git_commits_url":"https://api.github.com/repos/openfun/fun-apps/git/commits{/sha}","comments_url":"https://api.github.com/repos/openfun/fun-apps/comments{/number}","issue_comment_url":"https://api.github.com/repos/openfun/fun-apps/issues/comments{/number}","contents_url":"https://api.github.com/repos/openfun/fun-apps/contents/{+path}","compare_url":"https://api.github.com/repos/openfun/fun-apps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openfun/fun-apps/merges","archive_url":"https://api.github.com/repos/openfun/fun-apps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openfun/fun-apps/downloads","issues_url":"https://api.github.com/repos/openfun/fun-apps/issues{/number}","pulls_url":"https://api.github.com/repos/openfun/fun-apps/pulls{/number}","milestones_url":"https://api.github.com/repos/openfun/fun-apps/milestones{/number}","notifications_url":"https://api.github.com/repos/openfun/fun-apps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openfun/fun-apps/labels{/name}","releases_url":"https://api.github.com/repos/openfun/fun-apps/releases{/id}","created_at":"2014-06-06T08:42:58Z","updated_at":"2015-05-08T08:13:46Z","pushed_at":"2015-07-08T13:40:10Z","git_url":"git://github.com/openfun/fun-apps.git","ssh_url":"git@github.com:openfun/fun-apps.git","clone_url":"https://github.com/openfun/fun-apps.git","svn_url":"https://github.com/openfun/fun-apps","homepage":"","size":14088,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":1,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/openfun/fun-apps/pulls/154"},"html":{"href":"https://github.com/openfun/fun-apps/pull/154"},"issue":{"href":"https://api.github.com/repos/openfun/fun-apps/issues/154"},"comments":{"href":"https://api.github.com/repos/openfun/fun-apps/issues/154/comments"},"review_comments":{"href":"https://api.github.com/repos/openfun/fun-apps/pulls/154/comments"},"review_comment":{"href":"https://api.github.com/repos/openfun/fun-apps/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openfun/fun-apps/pulls/154/commits"},"statuses":{"href":"https://api.github.com/repos/openfun/fun-apps/statuses/a7c512e8b0437d1bf10f8bff6655c403c63058ea"}}}}