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
Migrations #119
Conversation
ravanscafi
commented
Oct 1, 2018
•
edited
edited
- Working migrations
- License
- Improve tests/coverage
- Documentation? (should be on mongolid)
- Hijack Laravel's migration commands?
The license will be updated later :)
'command.mongolid-migrate.refresh', | ||
'command.mongolid-migrate.reset', | ||
'command.mongolid-migrate.rollback', | ||
'command.mongolid-migrate.status', |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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; | ||
|
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this 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 🎉