{"action":"created","issue":{"url":"https://api.github.com/repos/cviebrock/eloquent-sluggable/issues/189","labels_url":"https://api.github.com/repos/cviebrock/eloquent-sluggable/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/cviebrock/eloquent-sluggable/issues/189/comments","events_url":"https://api.github.com/repos/cviebrock/eloquent-sluggable/issues/189/events","html_url":"https://github.com/cviebrock/eloquent-sluggable/issues/189","id":110554413,"number":189,"title":"wrong create migrate","user":{"login":"WaterSpout","id":4172230,"avatar_url":"https://avatars.githubusercontent.com/u/4172230?v=3","gravatar_id":"","url":"https://api.github.com/users/WaterSpout","html_url":"https://github.com/WaterSpout","followers_url":"https://api.github.com/users/WaterSpout/followers","following_url":"https://api.github.com/users/WaterSpout/following{/other_user}","gists_url":"https://api.github.com/users/WaterSpout/gists{/gist_id}","starred_url":"https://api.github.com/users/WaterSpout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WaterSpout/subscriptions","organizations_url":"https://api.github.com/users/WaterSpout/orgs","repos_url":"https://api.github.com/users/WaterSpout/repos","events_url":"https://api.github.com/users/WaterSpout/events{/privacy}","received_events_url":"https://api.github.com/users/WaterSpout/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-08T22:30:20Z","updated_at":"2015-10-13T21:52:37Z","closed_at":null,"body":"Hello, i use command `php artisan sluggable:table courses`, be created by wrong file\r\n\r\n```php\r\nuse Illuminate\\Database\\Schema\\Blueprint;\r\nuse Illuminate\\Database\\Migrations\\Migration;\r\n\r\nclass {{class}} extends Migration {\r\n\r\n\t/**\r\n\t * Run the migrations.\r\n\t *\r\n\t * @return void\r\n\t */\r\n\tpublic function up()\r\n\t{\r\n\t\tSchema::table('{{table}}', function(Blueprint $table)\r\n\t\t{\r\n\t\t\t$table->string('slug')->nullable();\r\n\t\t});\r\n\t}\r\n\r\n\t/**\r\n\t * Reverse the migrations.\r\n\t *\r\n\t * @return void\r\n\t */\r\n\tpublic function down()\r\n\t{\r\n\t\tSchema::table('{{table}}', function(Blueprint $table)\r\n\t\t{\r\n\t\t\t$table->dropColumn('slug');\r\n\t\t});\r\n\t}\r\n\r\n}\r\n```\r\nthe values are not substituted"},"comment":{"url":"https://api.github.com/repos/cviebrock/eloquent-sluggable/issues/comments/147864490","html_url":"https://github.com/cviebrock/eloquent-sluggable/issues/189#issuecomment-147864490","issue_url":"https://api.github.com/repos/cviebrock/eloquent-sluggable/issues/189","id":147864490,"user":{"login":"canvural","id":1574232,"avatar_url":"https://avatars.githubusercontent.com/u/1574232?v=3","gravatar_id":"","url":"https://api.github.com/users/canvural","html_url":"https://github.com/canvural","followers_url":"https://api.github.com/users/canvural/followers","following_url":"https://api.github.com/users/canvural/following{/other_user}","gists_url":"https://api.github.com/users/canvural/gists{/gist_id}","starred_url":"https://api.github.com/users/canvural/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canvural/subscriptions","organizations_url":"https://api.github.com/users/canvural/orgs","repos_url":"https://api.github.com/users/canvural/repos","events_url":"https://api.github.com/users/canvural/events{/privacy}","received_events_url":"https://api.github.com/users/canvural/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T21:52:37Z","updated_at":"2015-10-13T21:52:37Z","body":"You have to use master branch i guess. Master branch is not merged with the 3.0 tag. But the fix is in thre master."}}