Skip to content

Migrations in the old way #58

@atefrihane

Description

@atefrihane

Hey guys

How can I generate migrations in the standard way like in the previous versions ?
I've played around with config files but no way

UPDATE :

I had to edit this method here in MigrateMakeCommand Class

 protected function getMigrationPath()
    {
       
        $migrationPath = $this->laravel['path'] .'/' . $this->getConfiguredFolder('migrations');
   
        if (! is_null($targetPath = $this->input->getOption('path'))) {
            return $migrationPath . '/' . $targetPath;
        }

        return $migrationPath;
    }

is there a cleaner way to make this change ?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions