wrogati/cmd-table

Make changes on table

Installs: 5

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/wrogati/cmd-table

dev-master 2018-11-12 18:56 UTC

This package is not auto-updated.

Last update: 2025-10-06 11:36:39 UTC


README

Laravel > 5.4

Instructions

Register the CmdTableServiceProvider at file app.php in config folder:

Insert the line below:

  /* Command Table Application Service Providers... */
  ... 
  Wrogati\CmdTable\CmdTableServiceProvider::class,

In the terminal run the command line:

  composer require wrogati/cmd-table

Verifying

In the terminal run the command line:

  php artisan list

See the result, should be in the list the command "db:change"

Usage

  php artisan db:change <tablename> --op=<option>

Usage Options Availables

  d => drop table
  
  t => truncate table