mirkhamidov/yii2-console-dbextend

It makes to drop all your tables from console. Use it with migration and Development environment.

1.2.1 2016-01-15 09:20 UTC

This package is auto-updated.

Last update: 2024-11-29 04:43:01 UTC


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