interview back

This commit is contained in:
andrey
2021-08-16 14:32:54 +03:00
parent ec8b002838
commit 6f7c497d80
17 changed files with 534 additions and 3 deletions

View File

@ -0,0 +1,25 @@
<?php
use yii\db\Migration;
/**
* Handles adding columns to table `{{%interview_request}}`.
*/
class m210816_100534_add_new_column_to_interview_request_table extends Migration
{
/**
* {@inheritdoc}
*/
public function safeUp()
{
$this->addColumn('{{%interview_request}}', 'new', $this->integer(1)->defaultValue(1));
}
/**
* {@inheritdoc}
*/
public function safeDown()
{
$this->dropColumn('{{%interview_request}}', 'new');
}
}