{"action":"opened","issue":{"url":"https://api.github.com/repos/netz98/n98-magerun2/issues/375","repository_url":"https://api.github.com/repos/netz98/n98-magerun2","labels_url":"https://api.github.com/repos/netz98/n98-magerun2/issues/375/labels{/name}","comments_url":"https://api.github.com/repos/netz98/n98-magerun2/issues/375/comments","events_url":"https://api.github.com/repos/netz98/n98-magerun2/issues/375/events","html_url":"https://github.com/netz98/n98-magerun2/issues/375","id":324697157,"number":375,"title":"Can't run db:import without having valid db","user":{"login":"lingwooc","id":9419862,"avatar_url":"https://avatars2.githubusercontent.com/u/9419862?v=4","gravatar_id":"","url":"https://api.github.com/users/lingwooc","html_url":"https://github.com/lingwooc","followers_url":"https://api.github.com/users/lingwooc/followers","following_url":"https://api.github.com/users/lingwooc/following{/other_user}","gists_url":"https://api.github.com/users/lingwooc/gists{/gist_id}","starred_url":"https://api.github.com/users/lingwooc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lingwooc/subscriptions","organizations_url":"https://api.github.com/users/lingwooc/orgs","repos_url":"https://api.github.com/users/lingwooc/repos","events_url":"https://api.github.com/users/lingwooc/events{/privacy}","received_events_url":"https://api.github.com/users/lingwooc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-20T09:54:49Z","updated_at":"2018-05-20T09:54:49Z","closed_at":null,"author_association":"NONE","body":"If you run on `db:import` on a magento installation with a missing database then it throws `SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento_full.xxx_store_website' doesn't exist, query was: SELECT 'xxx_store_website'.* FROM 'xxx_store_website'`. Which is the same error magento gives. I guess it's not unreasonable as this is a wrapper for `bin\\magento`.\r\n\r\nThis is inconvenient as I'd like to use db:import to setup the database, but it won't work until the database is setup. I'll add I've not checked if this command relies on `bin/magento` for anything."}}
{"actor":{"display_login":"lingwooc"}}