{"action":"created","issue":{"url":"https://api.github.com/repos/laravel-enso/StructureManager/issues/7","repository_url":"https://api.github.com/repos/laravel-enso/StructureManager","labels_url":"https://api.github.com/repos/laravel-enso/StructureManager/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/laravel-enso/StructureManager/issues/7/comments","events_url":"https://api.github.com/repos/laravel-enso/StructureManager/issues/7/events","html_url":"https://github.com/laravel-enso/StructureManager/issues/7","id":352982371,"node_id":"MDU6SXNzdWUzNTI5ODIzNzE=","number":7,"title":"StructureMigration fails to rollback","user":{"login":"jlsjonas","id":932193,"node_id":"MDQ6VXNlcjkzMjE5Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/932193?v=4","gravatar_id":"","url":"https://api.github.com/users/jlsjonas","html_url":"https://github.com/jlsjonas","followers_url":"https://api.github.com/users/jlsjonas/followers","following_url":"https://api.github.com/users/jlsjonas/following{/other_user}","gists_url":"https://api.github.com/users/jlsjonas/gists{/gist_id}","starred_url":"https://api.github.com/users/jlsjonas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlsjonas/subscriptions","organizations_url":"https://api.github.com/users/jlsjonas/orgs","repos_url":"https://api.github.com/users/jlsjonas/repos","events_url":"https://api.github.com/users/jlsjonas/events{/privacy}","received_events_url":"https://api.github.com/users/jlsjonas/received_events","type":"User","site_admin":false},"labels":[{"id":632955402,"node_id":"MDU6TGFiZWw2MzI5NTU0MDI=","url":"https://api.github.com/repos/laravel-enso/StructureManager/labels/invalid","name":"invalid","color":"e6e6e6","default":true}],"state":"open","locked":false,"assignee":{"login":"aocneanu","id":16073274,"node_id":"MDQ6VXNlcjE2MDczMjc0","avatar_url":"https://avatars3.githubusercontent.com/u/16073274?v=4","gravatar_id":"","url":"https://api.github.com/users/aocneanu","html_url":"https://github.com/aocneanu","followers_url":"https://api.github.com/users/aocneanu/followers","following_url":"https://api.github.com/users/aocneanu/following{/other_user}","gists_url":"https://api.github.com/users/aocneanu/gists{/gist_id}","starred_url":"https://api.github.com/users/aocneanu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aocneanu/subscriptions","organizations_url":"https://api.github.com/users/aocneanu/orgs","repos_url":"https://api.github.com/users/aocneanu/repos","events_url":"https://api.github.com/users/aocneanu/events{/privacy}","received_events_url":"https://api.github.com/users/aocneanu/received_events","type":"User","site_admin":false},"assignees":[{"login":"aocneanu","id":16073274,"node_id":"MDQ6VXNlcjE2MDczMjc0","avatar_url":"https://avatars3.githubusercontent.com/u/16073274?v=4","gravatar_id":"","url":"https://api.github.com/users/aocneanu","html_url":"https://github.com/aocneanu","followers_url":"https://api.github.com/users/aocneanu/followers","following_url":"https://api.github.com/users/aocneanu/following{/other_user}","gists_url":"https://api.github.com/users/aocneanu/gists{/gist_id}","starred_url":"https://api.github.com/users/aocneanu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aocneanu/subscriptions","organizations_url":"https://api.github.com/users/aocneanu/orgs","repos_url":"https://api.github.com/users/aocneanu/repos","events_url":"https://api.github.com/users/aocneanu/events{/privacy}","received_events_url":"https://api.github.com/users/aocneanu/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-08-22T14:35:08Z","updated_at":"2018-08-23T08:57:57Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"<!-- Choose one of the following: -->\r\nThis is  a **bug**.\r\n\r\n<!-- Make sure that everything is checked below: -->\r\n### Prerequisites\r\n* [x] Are you running the latest version?\r\n* [x] Are you reporting to the correct repository?\r\n* [x] Did you check the documentation?\r\n* [x] Did you perform a cursory search?\r\n\r\n### Description\r\n<!-- Description of the bug or feature -->\r\nIt looks like running a rollback on one of the Structuremigrations doesn't remove the items from the database anymore (possibly related to the changes made to fix #4 )\r\n\r\n### Steps to Reproduce\r\n<!--\r\n1. First Step\r\n2. Second Step\r\n3. and so on...\r\n-->\r\n1. Generate structure\r\n2. Migrate\r\n3. Rollback, note that the down migration executed successfully according to Laravel, but nothing happened.\r\n\r\n### Expected behavior\r\n<!-- What you expected to happen -->\r\nCreated structure to be removed (permissions, permission group, menuItem)\r\n\r\n### Actual behavior\r\n<!-- What actually happened -->\r\nNothing; except for the migration supposedly succeeding.\r\n\r\n<!-- when the issue is resolved, don't forget to **CLOSE** it -->\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/laravel-enso/StructureManager/issues/comments/415343747","html_url":"https://github.com/laravel-enso/StructureManager/issues/7#issuecomment-415343747","issue_url":"https://api.github.com/repos/laravel-enso/StructureManager/issues/7","id":415343747,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTM0Mzc0Nw==","user":{"login":"aocneanu","id":16073274,"node_id":"MDQ6VXNlcjE2MDczMjc0","avatar_url":"https://avatars3.githubusercontent.com/u/16073274?v=4","gravatar_id":"","url":"https://api.github.com/users/aocneanu","html_url":"https://github.com/aocneanu","followers_url":"https://api.github.com/users/aocneanu/followers","following_url":"https://api.github.com/users/aocneanu/following{/other_user}","gists_url":"https://api.github.com/users/aocneanu/gists{/gist_id}","starred_url":"https://api.github.com/users/aocneanu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aocneanu/subscriptions","organizations_url":"https://api.github.com/users/aocneanu/orgs","repos_url":"https://api.github.com/users/aocneanu/repos","events_url":"https://api.github.com/users/aocneanu/events{/privacy}","received_events_url":"https://api.github.com/users/aocneanu/received_events","type":"User","site_admin":false},"created_at":"2018-08-23T08:57:57Z","updated_at":"2018-08-23T08:57:57Z","author_association":"MEMBER","body":"Shouldn't be related to the OS.\r\n\r\nThe structure migration class is pretty straighforward, you could try to `dd` it :) It would take a few minutes\r\n\r\n[this](https://github.com/laravel-enso/StructureManager/blob/master/src/app/Classes/Destroyer.php) where you have to look and check if all the parameters are ok.\r\n\r\n"}}
{"actor":{"display_login":"aocneanu"}}