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

pkg:composer/mirkhamidov/yii2-console-dbextend

1.2.1 2016-01-15 09:20 UTC

This package is auto-updated.

Last update: 2025-09-29 01:43:43 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