Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Migration generator bug for decorators #3

Open
brianwebb01 opened this issue Mar 19, 2014 · 0 comments
Open

Migration generator bug for decorators #3

brianwebb01 opened this issue Mar 19, 2014 · 0 comments
Labels

Comments

@brianwebb01
Copy link
Contributor

this code blacksmith generate author scaffold ~/Desktop/blksm_cust_tpl/config.json --fields="name:string[50]"

Generates this:

public function up()
    {
        Schema::create('authors', function(Blueprint $table) {
            $table->increments('id');
            $table->string[50]('name');
            $table->timestamps();
        });
    }

Should be:

$table->string('name', 50);

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant