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

AbMigrate.php:36 - hasOption() Causes ab:migrate to Fail #13

Open
AlteranAncient opened this issue Feb 10, 2017 · 2 comments
Open

AbMigrate.php:36 - hasOption() Causes ab:migrate to Fail #13

AlteranAncient opened this issue Feb 10, 2017 · 2 comments

Comments

@AlteranAncient
Copy link

When trying to run ab:migrate on a Laravel 5.1.45 project, the following error is generated:

[Symfony\Component\Debug\Exception\FatalThrowableError]
  Call to undefined method ComoCode\LaravelAb\App\Console\Commands\AbMigrate::hasOption()

Removing line 36 from AbMigrate then allows the artisan command to run as expected.

I might also point out that trying to run the migrations in this way, as opposed to using vendor:publish means that this package does not work with any existing deployment pipelines that a developer may have already configured.

@82rules
Copy link
Contributor

82rules commented Feb 10, 2017

thank you for the heads up. I will look into making that change, if you want to submit a PR on it I'd also appreciate it.

@82rules
Copy link
Contributor

82rules commented Mar 2, 2017

@AlteranAncient or anyone else, I havent had any time to submit a PR against this. If anyone would like to take a stab at this I would appreciate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants