Commit 446e1d9f authored by Shakarim Sapa's avatar Shakarim Sapa

- Добавлена миграция с новым полем для расписание

parent cb74218d
<?php
use yii\db\Migration;
use yii\db\Schema;
class m160211_095231_add_campaign_id_column_to_trigger_schedule extends Migration
{
public function safeUp()
{
$this->addColumn(
'trigger_schedule',
'campaign_id',
Schema::TYPE_INTEGER.' DEFAULT NULL'
);
}
public function safeDown()
{
$this->dropColumn(
'trigger_schedule',
'campaign_id'
);
}
}
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