Skip to content

how can create extra fields on pivot table #95

@Mohib1992

Description

@Mohib1992

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions