{"action":"created","issue":{"url":"https://api.github.com/repos/briankiewel/pagodabox-laravel-4/issues/24","labels_url":"https://api.github.com/repos/briankiewel/pagodabox-laravel-4/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/briankiewel/pagodabox-laravel-4/issues/24/comments","events_url":"https://api.github.com/repos/briankiewel/pagodabox-laravel-4/issues/24/events","html_url":"https://github.com/briankiewel/pagodabox-laravel-4/issues/24","id":91768109,"number":24,"title":"[ErrorException] Undefined Variable: table","user":{"login":"Srijan-Karki","id":13083334,"avatar_url":"https://avatars.githubusercontent.com/u/13083334?v=3","gravatar_id":"","url":"https://api.github.com/users/Srijan-Karki","html_url":"https://github.com/Srijan-Karki","followers_url":"https://api.github.com/users/Srijan-Karki/followers","following_url":"https://api.github.com/users/Srijan-Karki/following{/other_user}","gists_url":"https://api.github.com/users/Srijan-Karki/gists{/gist_id}","starred_url":"https://api.github.com/users/Srijan-Karki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Srijan-Karki/subscriptions","organizations_url":"https://api.github.com/users/Srijan-Karki/orgs","repos_url":"https://api.github.com/users/Srijan-Karki/repos","events_url":"https://api.github.com/users/Srijan-Karki/events{/privacy}","received_events_url":"https://api.github.com/users/Srijan-Karki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-29T10:34:04Z","updated_at":"2015-06-29T12:53:24Z","closed_at":null,"body":"I have defined the variable. But i can't fix the problem. Others file migrate except this one.\r\nI was learning from the video.. It works there but not in my laptop.\r\nHere is the code:\r\n\r\n<?php\r\n\r\nuse Illuminate\\Database\\Schema\\Blueprint;\r\nuse Illuminate\\Database\\Migrations\\Migration;\r\n\r\nclass CreateNewArticlesTable extends Migration {\r\n    public function up()\r\n    {\r\n        Schema::create('articles', function (Blueprint $table) {\r\n            $table->increments('id');\r\n            $table->string('title');\r\n            $table->text('body');\r\n            $table->timestamps();\r\n            $table->timestamp('published_at');\r\n        });\r\n    }\r\n    public function down()\r\n    {\r\n        Schema::drop('articles');\r\n    }\r\n}\r\n"},"comment":{"url":"https://api.github.com/repos/briankiewel/pagodabox-laravel-4/issues/comments/116647790","html_url":"https://github.com/briankiewel/pagodabox-laravel-4/issues/24#issuecomment-116647790","issue_url":"https://api.github.com/repos/briankiewel/pagodabox-laravel-4/issues/24","id":116647790,"user":{"login":"briankiewel","id":1514568,"avatar_url":"https://avatars.githubusercontent.com/u/1514568?v=3","gravatar_id":"","url":"https://api.github.com/users/briankiewel","html_url":"https://github.com/briankiewel","followers_url":"https://api.github.com/users/briankiewel/followers","following_url":"https://api.github.com/users/briankiewel/following{/other_user}","gists_url":"https://api.github.com/users/briankiewel/gists{/gist_id}","starred_url":"https://api.github.com/users/briankiewel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briankiewel/subscriptions","organizations_url":"https://api.github.com/users/briankiewel/orgs","repos_url":"https://api.github.com/users/briankiewel/repos","events_url":"https://api.github.com/users/briankiewel/events{/privacy}","received_events_url":"https://api.github.com/users/briankiewel/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T12:53:24Z","updated_at":"2015-06-29T12:53:24Z","body":"That migration looks ok as well. Are you sure you have no other migrations anywhere else? Both of these work fine for me. \r\n\r\nTry running `artisan clear-compiled` and see if that helps. If that doesn't help, I would also try removing all of your migrations and add them back one by one making sure each one works as you add it back in. This way you can identify where exactly the problem is. "}}