Skip to content

Support after() on morphs() Columns #55285

Discussion options

You must be logged in to vote

You may try this https://laravel.com/docs/12.x/migrations#column-order

$table->after('title', function (Blueprint $table) {
    $table->morphs('commentable');
});

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Usmanzahidcode
Comment options

@hafezdivandari
Comment options

@Usmanzahidcode
Comment options

Answer selected by Usmanzahidcode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants