{"action":"created","issue":{"url":"https://api.github.com/repos/jdavidbakr/mail-tracker/issues/26","repository_url":"https://api.github.com/repos/jdavidbakr/mail-tracker","labels_url":"https://api.github.com/repos/jdavidbakr/mail-tracker/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/jdavidbakr/mail-tracker/issues/26/comments","events_url":"https://api.github.com/repos/jdavidbakr/mail-tracker/issues/26/events","html_url":"https://github.com/jdavidbakr/mail-tracker/issues/26","id":226425320,"number":26,"title":"Mail tracking breaks phpunit tests when using :memory:","user":{"login":"Penthious","id":12500410,"avatar_url":"https://avatars3.githubusercontent.com/u/12500410?v=3","gravatar_id":"","url":"https://api.github.com/users/Penthious","html_url":"https://github.com/Penthious","followers_url":"https://api.github.com/users/Penthious/followers","following_url":"https://api.github.com/users/Penthious/following{/other_user}","gists_url":"https://api.github.com/users/Penthious/gists{/gist_id}","starred_url":"https://api.github.com/users/Penthious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Penthious/subscriptions","organizations_url":"https://api.github.com/users/Penthious/orgs","repos_url":"https://api.github.com/users/Penthious/repos","events_url":"https://api.github.com/users/Penthious/events{/privacy}","received_events_url":"https://api.github.com/users/Penthious/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-04T22:22:27Z","updated_at":"2017-05-05T01:40:37Z","closed_at":null,"body":"When I run phpunit prior to installing mail-tracker I get all green, after I install mail tracker I get all red. I also tried to install it on a fresh install of laravel to see if I get the same error and sure enough I do. This is my phpunit.xml\r\n```\r\n    <php>\r\n        <env name=\"APP_ENV\" value=\"testing\"/>\r\n        <env name=\"CACHE_DRIVER\" value=\"array\"/>\r\n        <env name=\"SESSION_DRIVER\" value=\"array\"/>\r\n        <env name=\"QUEUE_DRIVER\" value=\"database\"/>\r\n        <env name=\"DB_CONNECTION\" value=\"sqlite\"/>\r\n        <env name=\"DB_DATABASE\" value=\":memory:\"/>\r\n        <env name=\"MAIL_DRIVER\" value=\"log\"/>\r\n    </php>\r\n```\r\n\r\nThe error I get is \r\n```\r\nDoctrine\\DBAL\\Schema\\SchemaException: There is no column with name 'message_id' on table 'sent_emails'.\r\n```"},"comment":{"url":"https://api.github.com/repos/jdavidbakr/mail-tracker/issues/comments/299352145","html_url":"https://github.com/jdavidbakr/mail-tracker/issues/26#issuecomment-299352145","issue_url":"https://api.github.com/repos/jdavidbakr/mail-tracker/issues/26","id":299352145,"user":{"login":"jdavidbakr","id":25177,"avatar_url":"https://avatars3.githubusercontent.com/u/25177?v=3","gravatar_id":"","url":"https://api.github.com/users/jdavidbakr","html_url":"https://github.com/jdavidbakr","followers_url":"https://api.github.com/users/jdavidbakr/followers","following_url":"https://api.github.com/users/jdavidbakr/following{/other_user}","gists_url":"https://api.github.com/users/jdavidbakr/gists{/gist_id}","starred_url":"https://api.github.com/users/jdavidbakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdavidbakr/subscriptions","organizations_url":"https://api.github.com/users/jdavidbakr/orgs","repos_url":"https://api.github.com/users/jdavidbakr/repos","events_url":"https://api.github.com/users/jdavidbakr/events{/privacy}","received_events_url":"https://api.github.com/users/jdavidbakr/received_events","type":"User","site_admin":false},"created_at":"2017-05-05T01:40:37Z","updated_at":"2017-05-05T01:40:37Z","body":"Did you happen to upgrade from 2.0 or earlier at some point?  That sounds like you're missing a migration: https://github.com/jdavidbakr/mail-tracker/blob/master/database/migrations/2016_11_10_213551_add-message-id-to-sent-emails-table.php"}}
{"actor":{"display_login":"jdavidbakr"}}