Commit 108199bd authored by Shakarim Sapa's avatar Shakarim Sapa

- Добавлена миграция на удаление лишнего поля из таблицы cases_schedule

parent 9c0937b7
<?php
use yii\db\Migration;
class m160324_152557_drop_send_date_column_from_cases_schedule_table extends Migration
{
public function up()
{
$this->dropColumn(
'cases_schedule',
'send_date'
);
}
public function down()
{
$this->addColumn(
'cases_schedule',
'send_date',
$this->date()->notNull()
);
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment