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

Remove migrations from autoload classmap #4340

Merged
merged 1 commit into from
Jul 22, 2017

Conversation

garygreen
Copy link
Contributor

@garygreen garygreen commented Jul 21, 2017

The list of migrations in your app can grow massively and these currently automatically get included in your composer classmap. Migrations are intended to be run as a one-time thing and are already automatically required so this PR avoids unnecessarily adding the migrations to your composer file.

@KKSzymanowski
Copy link

KKSzymanowski commented Apr 3, 2020

Is the autoload dump still required after creating a new migration?
I'm referring to this: https://github.com/laravel/framework/blob/7.x/src/Illuminate/Database/Console/Migrations/MigrateMakeCommand.php#L96

@GrahamCampbell GrahamCampbell changed the title Remove migrations from autoload classmap [7.x] Remove migrations from autoload classmap Apr 3, 2020
@GrahamCampbell GrahamCampbell changed the title [7.x] Remove migrations from autoload classmap Remove migrations from autoload classmap Apr 3, 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
3 participants