{"action":"created","issue":{"url":"https://api.github.com/repos/lukepolo/laracart/issues/119","repository_url":"https://api.github.com/repos/lukepolo/laracart","labels_url":"https://api.github.com/repos/lukepolo/laracart/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/lukepolo/laracart/issues/119/comments","events_url":"https://api.github.com/repos/lukepolo/laracart/issues/119/events","html_url":"https://github.com/lukepolo/laracart/issues/119","id":151928577,"number":119,"title":"Migration published && migrating error","user":{"login":"Cannonb4ll","id":3110750,"avatar_url":"https://avatars.githubusercontent.com/u/3110750?v=3","gravatar_id":"","url":"https://api.github.com/users/Cannonb4ll","html_url":"https://github.com/Cannonb4ll","followers_url":"https://api.github.com/users/Cannonb4ll/followers","following_url":"https://api.github.com/users/Cannonb4ll/following{/other_user}","gists_url":"https://api.github.com/users/Cannonb4ll/gists{/gist_id}","starred_url":"https://api.github.com/users/Cannonb4ll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cannonb4ll/subscriptions","organizations_url":"https://api.github.com/users/Cannonb4ll/orgs","repos_url":"https://api.github.com/users/Cannonb4ll/repos","events_url":"https://api.github.com/users/Cannonb4ll/events{/privacy}","received_events_url":"https://api.github.com/users/Cannonb4ll/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-29T17:31:17Z","updated_at":"2016-04-29T18:01:36Z","closed_at":"2016-04-29T18:01:08Z","body":"I was kind of suprised I got a migration from this package, then I realized it was actually a very good idea to save the cart to the user, I was bound to use it but I ran into some weird errors.\r\n\r\n- Is there a reason you are giving the migration the year 2000 so it comes first in line? The default laravel user migration is from 2014-10-12 so if you try to add columns to that table, errors occur:\r\n\r\n     Nothing to rollback.\r\n     [Illuminate\\Database\\QueryException]\r\n     SQLSTATE[42S02]: Base table or view not found: 1146 Table 'voormeubels.users' doesn't exist (SQL: alter table `users` add `cart_session_id` varchar(255) not null)\r\n    [PDOException]\r\n    SQLSTATE[42S02]: Base table or view not found: 1146 Table 'voormeubels.users' doesn't exist\r\n\r\n- Each time we do *php artisan vendor:publish --provider='LukePOLO\\LaraCart\\LaraCartServiceProvider'* it would publish/overwrite the migration, which is kinda weird.\r\n\r\nIs it OK if I make a PR for this?"},"comment":{"url":"https://api.github.com/repos/lukepolo/laracart/issues/comments/215831524","html_url":"https://github.com/lukepolo/laracart/issues/119#issuecomment-215831524","issue_url":"https://api.github.com/repos/lukepolo/laracart/issues/119","id":215831524,"user":{"login":"lukepolo","id":2066668,"avatar_url":"https://avatars.githubusercontent.com/u/2066668?v=3","gravatar_id":"","url":"https://api.github.com/users/lukepolo","html_url":"https://github.com/lukepolo","followers_url":"https://api.github.com/users/lukepolo/followers","following_url":"https://api.github.com/users/lukepolo/following{/other_user}","gists_url":"https://api.github.com/users/lukepolo/gists{/gist_id}","starred_url":"https://api.github.com/users/lukepolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukepolo/subscriptions","organizations_url":"https://api.github.com/users/lukepolo/orgs","repos_url":"https://api.github.com/users/lukepolo/repos","events_url":"https://api.github.com/users/lukepolo/events{/privacy}","received_events_url":"https://api.github.com/users/lukepolo/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T18:01:36Z","updated_at":"2016-04-29T18:01:36Z","body":"Oh oups thank you very much! "}}