mirkhamidov / yii2-console-dbextend
It makes to drop all your tables from console. Use it with migration and Development environment.
Installs: 38
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: >=2.0.5
README
Extends console commands with DB.
Install
Recommended by composer
composer require mirkhamidov/yii2-console-dbextend=*
Usage
in a console
./yii dbex/drop-all-tables
after that, in console config file
'modules' => [
...
'dbex' => 'mirkhamidov\DbexBootstrapClass',
...
],
Connections
Packagist: https://packagist.org/packages/mirkhamidov/yii2-console-dbextend
Changelog
1.1.0
interactive
parametr added;
1.0.0
drop-all-tables
action created;- this extenstion created