https://pastein.ru/t/cF

  скопируйте уникальную ссылку для отправки


[root@ee56ce54fd8f app]# php yii migrate/down 2
Yii Migration Tool (based on Yii v2.0.11)

Total 2 migrations to be reverted:
	m190425_083330_company_year_paid
	m190221_090413_article_show_count

Revert the above migrations? (yes|no) [no]:yes
*** reverting m190425_083330_company_year_paid
    > drop column paid from table company ... done (time: 0.574s)
    > drop column year from table company ... done (time: 0.511s)
*** reverted m190425_083330_company_year_paid (time: 1.132s)

*** reverting m190221_090413_article_show_count
    > drop column show_count from table article ... done (time: 15.075s)
*** reverted m190221_090413_article_show_count (time: 15.094s)


2 migrations were reverted.

Migrated down successfully.