L
L
lolka022021-04-18 15:45:33
Laravel
lolka02, 2021-04-18 15:45:33

How to ignore migration from /vendor in laravel?

In general, there is a ready-made project, I create a migration to add a field to the table
php artisan make:migration table_new_column

A migration file is created in the database/migrations folder, I launch it, it first launches migrations from the /vendor/laravel/passport/database/migrations folder

Why does the launch of the migration look at all vendor folder? In theory, I should immediately look at /database/migrations

in Yii2, for example, I created a migration, launched it, new migrations are immediately launched from the console/migrations folder in the advanced

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question