Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

how can create extra fields on pivot table #95

Closed
Mohib1992 opened this issue Mar 1, 2016 · 1 comment
Closed

how can create extra fields on pivot table #95

Mohib1992 opened this issue Mar 1, 2016 · 1 comment

Comments

@Mohib1992
Copy link

There is command to create migration for pivot table
php artisan make:migration:pivot $table1 $table2.

Is there any way to do like
php artisan make:migration:pivot $table1 $table2 --schema="field1:string, field2:string"

@tabacitu
Copy link
Contributor

tabacitu commented Mar 8, 2020

I believe PR #114 would add that functionality. We're considering adding it in v2 #165 soon - let us know what you think about this PR in #114 if you still want the feature.

It's finally time to make this package better for us all to benefit. Let's do this!
Cheers!

@tabacitu tabacitu closed this as completed Mar 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants