Commit dba35127 authored by Shakarim Sapa's avatar Shakarim Sapa

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

parent f9f3ff8c
<?php
use yii\db\Migration;
class m160217_145619_add_subject_column_to_template extends Migration
{
public function up()
{
$this->addColumn(
'message_template',
'subject',
$this->string(255)->notNull()
);
}
public function down()
{
$this->dropColumn(
'message_template',
'subject'
);
}
}
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