Page MenuHomeDevCentral

New CLI command: db:shell
ClosedPublic

Authored by dereckson on Jun 26 2016, 22:19.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 16, 08:50
Unknown Object (File)
Mon, Dec 16, 08:50
Unknown Object (File)
Mon, Dec 16, 08:36
Unknown Object (File)
Mon, Dec 16, 08:23
Unknown Object (File)
Sat, Dec 7, 21:47
Unknown Object (File)
Sat, Dec 7, 21:47
Unknown Object (File)
Sat, Dec 7, 21:36
Unknown Object (File)
Thu, Dec 5, 09:27
Subscribers
None

Details

Summary

This command runs the command line tool to interact
with the database currently selected in configuration,
with the correct arguments also from the configuration.

For example, if MySQL is selected as engine, ./artisan db:shell
will open a mysql connected to the right host with proper credentials
and the database selected.

This is fully portable to any Laravel application,
and so a good candidate for a standalone package.

Test Plan
  • './artisan db:shell'
  • Unit test for LoginException

Diff Detail

Repository
rGROVE Auth Grove
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson retitled this revision from to New CLI command: db:shell.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Jun 26 2016, 22:22
This revision was automatically updated to reflect the committed changes.