Skip to content
This repository was archived by the owner on Nov 26, 2021. It is now read-only.
This repository was archived by the owner on Nov 26, 2021. It is now read-only.

Migration files are broken L5.2 #30

@yurtesen

Description

@yurtesen

Well there are 2 problems:

1- The file names are like '2013_11_28_170337_create_geonames_names.php' but the class name inside the file is 'CreateGeonamesNamesTable'. Either the file name should be '2013_11_28_170337_create_geonames_names_table.php' or the class name should be 'CreateGeonamesNames'

Otherwise it just gives error:

  [Symfony\Component\Debug\Exception\FatalThrowableError]
  Class 'CreateGeonamesNames' not found

2- The composer dumpautoload is giving errors about duplicate migration files.

Writing lock file
Generating autoload files
Warning: Ambiguous class resolution, "CreateGeonamesNamesTable" was found in both "$baseDir . '/database/migrations/2013_11_28_170337_create_geonames_names.php" and "/laravel_directory/vendor/ipalaus/geonames/src/migrations/2013_11_28_170337_create_geonames_names.php", the first will be used.

I found the same problem mentioned in another issue but removing the classmap from vendor/ipalaus/geonames/composer.json did not help.

Any ideas on when you will fix these and make a release?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions