MCMatters / laravel-db-commands by MCMatters

1,065
1
2
Package Data
Maintainer Username: MCMatters
Maintainer Contact: dima.matters@gmail.com (Dmitry Borzyonok)
Package Create Date: 2017-06-14
Package Last Update: 2020-08-27
Language: PHP
License: MIT
Last Refreshed: 2024-11-22 03:14:12
Package Statistics
Total Downloads: 1,065
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 1
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

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.