mirkhamidov / yii2-console-dbextend
It makes to drop all your tables from console. Use it with migration and Development environment.
Package info
github.com/m1roff/yii2-console-dbextend
Type:yii2-extension
pkg:composer/mirkhamidov/yii2-console-dbextend
1.2.1
2016-01-15 09:20 UTC
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
interactiveparametr added;
1.0.0
drop-all-tablesaction created;- this extenstion created