mcmatters/laravel-db-commands

1,066 1
Install
composer require mcmatters/laravel-db-commands
Latest Version:v1.2.1
PHP:>=7.0
License:MIT
Last Updated:Aug 27, 2020
Links: GitHub  ·  Packagist
Maintainer: MCMatters

Laravel DB Commands

Package with laravel database commands.

Installation

composer require mcmatters/laravel-db-commands

If you don't use package discovering feature, then just include the service provider within your config/app.php file.

'providers' => [
    McMatters\LaravelDbCommands\ServiceProvider::class,
]

Usage

Available commands:

  • php artisan db:drop-tables — drops all tables.
  • php artisan migrate:single {"file" or "class"} — migrate single migration by file or class name.
  • php artisan migrate:drop-single {"file" or "class"} — drop single migration by file or class name.