{"action":"closed","issue":{"url":"https://api.github.com/repos/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/issues/31","repository_url":"https://api.github.com/repos/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql","labels_url":"https://api.github.com/repos/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/issues/31/comments","events_url":"https://api.github.com/repos/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/issues/31/events","html_url":"https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/issues/31","id":167809182,"number":31,"title":"An error occurred applying migrations, try applying them from the command line","user":{"login":"dhswg20077","id":80653,"avatar_url":"https://avatars.githubusercontent.com/u/80653?v=3","gravatar_id":"","url":"https://api.github.com/users/dhswg20077","html_url":"https://github.com/dhswg20077","followers_url":"https://api.github.com/users/dhswg20077/followers","following_url":"https://api.github.com/users/dhswg20077/following{/other_user}","gists_url":"https://api.github.com/users/dhswg20077/gists{/gist_id}","starred_url":"https://api.github.com/users/dhswg20077/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhswg20077/subscriptions","organizations_url":"https://api.github.com/users/dhswg20077/orgs","repos_url":"https://api.github.com/users/dhswg20077/repos","events_url":"https://api.github.com/users/dhswg20077/events{/privacy}","received_events_url":"https://api.github.com/users/dhswg20077/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/labels/type-question","name":"type-question","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":{"login":"ElderJames","id":7550366,"avatar_url":"https://avatars.githubusercontent.com/u/7550366?v=3","gravatar_id":"","url":"https://api.github.com/users/ElderJames","html_url":"https://github.com/ElderJames","followers_url":"https://api.github.com/users/ElderJames/followers","following_url":"https://api.github.com/users/ElderJames/following{/other_user}","gists_url":"https://api.github.com/users/ElderJames/gists{/gist_id}","starred_url":"https://api.github.com/users/ElderJames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ElderJames/subscriptions","organizations_url":"https://api.github.com/users/ElderJames/orgs","repos_url":"https://api.github.com/users/ElderJames/repos","events_url":"https://api.github.com/users/ElderJames/events{/privacy}","received_events_url":"https://api.github.com/users/ElderJames/received_events","type":"User","site_admin":false},"assignees":[{"login":"ElderJames","id":7550366,"avatar_url":"https://avatars.githubusercontent.com/u/7550366?v=3","gravatar_id":"","url":"https://api.github.com/users/ElderJames","html_url":"https://github.com/ElderJames","followers_url":"https://api.github.com/users/ElderJames/followers","following_url":"https://api.github.com/users/ElderJames/following{/other_user}","gists_url":"https://api.github.com/users/ElderJames/gists{/gist_id}","starred_url":"https://api.github.com/users/ElderJames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ElderJames/subscriptions","organizations_url":"https://api.github.com/users/ElderJames/orgs","repos_url":"https://api.github.com/users/ElderJames/repos","events_url":"https://api.github.com/users/ElderJames/events{/privacy}","received_events_url":"https://api.github.com/users/ElderJames/received_events","type":"User","site_admin":false},{"login":"qinxiaowen","id":8536046,"avatar_url":"https://avatars.githubusercontent.com/u/8536046?v=3","gravatar_id":"","url":"https://api.github.com/users/qinxiaowen","html_url":"https://github.com/qinxiaowen","followers_url":"https://api.github.com/users/qinxiaowen/followers","following_url":"https://api.github.com/users/qinxiaowen/following{/other_user}","gists_url":"https://api.github.com/users/qinxiaowen/gists{/gist_id}","starred_url":"https://api.github.com/users/qinxiaowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qinxiaowen/subscriptions","organizations_url":"https://api.github.com/users/qinxiaowen/orgs","repos_url":"https://api.github.com/users/qinxiaowen/repos","events_url":"https://api.github.com/users/qinxiaowen/events{/privacy}","received_events_url":"https://api.github.com/users/qinxiaowen/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/milestones/1","html_url":"https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/milestones/1.0.0","labels_url":"https://api.github.com/repos/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/milestones/1/labels","id":1877694,"number":1,"title":"1.0.0","description":"","creator":{"login":"Kagamine","id":2216750,"avatar_url":"https://avatars.githubusercontent.com/u/2216750?v=3","gravatar_id":"","url":"https://api.github.com/users/Kagamine","html_url":"https://github.com/Kagamine","followers_url":"https://api.github.com/users/Kagamine/followers","following_url":"https://api.github.com/users/Kagamine/following{/other_user}","gists_url":"https://api.github.com/users/Kagamine/gists{/gist_id}","starred_url":"https://api.github.com/users/Kagamine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kagamine/subscriptions","organizations_url":"https://api.github.com/users/Kagamine/orgs","repos_url":"https://api.github.com/users/Kagamine/repos","events_url":"https://api.github.com/users/Kagamine/events{/privacy}","received_events_url":"https://api.github.com/users/Kagamine/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":18,"state":"open","created_at":"2016-07-12T06:36:37Z","updated_at":"2016-07-28T03:13:47Z","due_on":"2016-08-04T16:00:00Z","closed_at":null},"comments":13,"created_at":"2016-07-27T09:23:29Z","updated_at":"2016-07-28T03:13:47Z","closed_at":"2016-07-28T03:13:47Z","body":"### Steps to reproduce\r\n1.修改配置文件\r\n    \"MysqlDefaultConnection\": \"Data Source=******.com;port=8041;Database=Videos;uid=root;pwd=*****;charset=utf8\",\r\n\r\n2.services.AddDbContext<ApplicationDbContext>(options =>\r\n                options.UseMySql(Configuration.GetConnectionString(\"MysqlDefaultConnection\")));\r\n\r\n3.注册用户\r\n\r\n4.提示ef迁移\r\n\r\n5.点击 Apply Migrations\r\n\r\n6.报错 提示 “An error occurred applying migrations, try applying them from the command line”\r\n查看数据库已经自动创建成功，但是表只有__EFMigrationsHistory一个。\r\n\r\n\r\nMySQL version:  MySQL 5.6"}}
{"actor":{"display_login":"Kagamine"}}