{"action":"created","issue":{"url":"https://api.github.com/repos/q2a/question2answer/issues/511","repository_url":"https://api.github.com/repos/q2a/question2answer","labels_url":"https://api.github.com/repos/q2a/question2answer/issues/511/labels{/name}","comments_url":"https://api.github.com/repos/q2a/question2answer/issues/511/comments","events_url":"https://api.github.com/repos/q2a/question2answer/issues/511/events","html_url":"https://github.com/q2a/question2answer/issues/511","id":218091787,"number":511,"title":"1.8 Database Initialization Issue with load_order","user":{"login":"q2amarket","id":2882691,"avatar_url":"https://avatars2.githubusercontent.com/u/2882691?v=3","gravatar_id":"","url":"https://api.github.com/users/q2amarket","html_url":"https://github.com/q2amarket","followers_url":"https://api.github.com/users/q2amarket/followers","following_url":"https://api.github.com/users/q2amarket/following{/other_user}","gists_url":"https://api.github.com/users/q2amarket/gists{/gist_id}","starred_url":"https://api.github.com/users/q2amarket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/q2amarket/subscriptions","organizations_url":"https://api.github.com/users/q2amarket/orgs","repos_url":"https://api.github.com/users/q2amarket/repos","events_url":"https://api.github.com/users/q2amarket/events{/privacy}","received_events_url":"https://api.github.com/users/q2amarket/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-03-30T06:17:19Z","updated_at":"2017-04-06T16:03:03Z","closed_at":"2017-04-04T13:04:21Z","body":"@svivian @pupi1985 \r\n\r\nI was trying to update [Star Rating plugin](https://github.com/q2amarket/q2am-star-ratings) and stuck with the weird issue.\r\nIf I define `load_order:` to `after_db_init` the database doesn't initialize to install required table for the plugin. However, it works fine if `load_order:` set to `before_db_init`.\r\n\r\nI understand that to add table; it has to be load before database initializes but then the plugin can't be disabled.\r\n\r\nI have checked event logger plugin metadata.json and realized no `load_order:` parameter is set. So in that case what will happen? How will Q2A react if the haven't been set?\r\n\r\nIs there any way in 1.8 which allows to Enable/Disable plugin and can create a table on the first load?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/q2a/question2answer/issues/comments/292222134","html_url":"https://github.com/q2a/question2answer/issues/511#issuecomment-292222134","issue_url":"https://api.github.com/repos/q2a/question2answer/issues/511","id":292222134,"user":{"login":"q2amarket","id":2882691,"avatar_url":"https://avatars2.githubusercontent.com/u/2882691?v=3","gravatar_id":"","url":"https://api.github.com/users/q2amarket","html_url":"https://github.com/q2amarket","followers_url":"https://api.github.com/users/q2amarket/followers","following_url":"https://api.github.com/users/q2amarket/following{/other_user}","gists_url":"https://api.github.com/users/q2amarket/gists{/gist_id}","starred_url":"https://api.github.com/users/q2amarket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/q2amarket/subscriptions","organizations_url":"https://api.github.com/users/q2amarket/orgs","repos_url":"https://api.github.com/users/q2amarket/repos","events_url":"https://api.github.com/users/q2amarket/events{/privacy}","received_events_url":"https://api.github.com/users/q2amarket/received_events","type":"User","site_admin":false},"created_at":"2017-04-06T16:03:03Z","updated_at":"2017-04-06T16:03:03Z","body":"Cool thanks.. I will try and get back to you. Thanks for the fix."}}
{"actor":{"display_login":"q2amarket"}}