Page MenuHomeDevCentral

New CLI command: db:shell
ClosedPublic

Authored by dereckson on Jun 26 2016, 22:19.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 13, 18:10
Unknown Object (File)
Wed, Nov 13, 18:10
Unknown Object (File)
Wed, Nov 13, 13:50
Unknown Object (File)
Wed, Nov 13, 13:10
Unknown Object (File)
Sun, Nov 10, 01:32
Unknown Object (File)
Wed, Nov 6, 23:56
Unknown Object (File)
Wed, Nov 6, 22:50
Unknown Object (File)
Wed, Nov 6, 17:59
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.