JeffreyWay / Laravel-4-Generators

Rapidly speed up your Laravel workflow with generators
https://packagist.org/packages/way/generators
MIT License
27 stars 9 forks source link

Invalid path in default usage #377

Closed redbaron76 closed 10 years ago

redbaron76 commented 10 years ago

Without specifying the --path option, this error exception occurs:

[ErrorException]                                                                                       
  file_put_contents(/home/vagrant/larapush/database/migrations/2014_09_08_125030_create_users_table.php  
  ): failed to open stream: No such file or directory

Had to use

artisan generate:migration create_users_table --path="app/database/migrations" --fields="username:string, email:string, password:string"

in order to make it run correctly.

JeffreyWay commented 10 years ago

Pull in ~2.0 of the generators instead. You're using the wrong version.

redbaron76 commented 10 years ago

ups... so sorry... my text search scrolled the page down hiding the title ;-) thanks