mcmatters / laravel-db-commands
Installs: 1 065
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=7.0
- illuminate/console: ^5.2 || 6.* || 7.*
- illuminate/database: ^5.2 || 6.* || 7.*
- illuminate/support: ^5.2 || 6.* || 7.*
README
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.