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

Migrations #119

Merged
merged 17 commits into from Oct 3, 2018
Merged

Migrations #119

merged 17 commits into from Oct 3, 2018

Conversation

ravanscafi
Copy link
Contributor

@ravanscafi ravanscafi commented Oct 1, 2018

@leroy-merlin-br leroy-merlin-br deleted a comment from coveralls Oct 1, 2018
'command.mongolid-migrate.refresh',
'command.mongolid-migrate.reset',
'command.mongolid-migrate.rollback',
'command.mongolid-migrate.status',
Copy link
Contributor

@gmsantos gmsantos Oct 1, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we really need to create commands to mongolid?

With queue:failed was possible to overwrite the Laravel persistence layer only and reuse the default commands.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, we do.

use Illuminate\Console\ConfirmableTrait;
use Mongolid\Connection\Pool;
use Symfony\Component\Console\Input\InputOption;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we put a comment above the class to describe the command functionality?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess that it would be the same as the $description attribute, so IMHO I see no need for it.

Copy link
Contributor

@carusogabriel carusogabriel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An amazing addition to this package 🎉

@ravanscafi ravanscafi merged commit d0d7429 into develop Oct 3, 2018
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

Successfully merging this pull request may close these issues.

None yet

5 participants