add_status_to_project_index
This commit is contained in:
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
use yii\db\Migration;
|
||||
|
||||
/**
|
||||
* Class m190702_135529_add_status_column_in_project
|
||||
*/
|
||||
class m190702_135529_add_status_column_in_project extends Migration
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function safeUp()
|
||||
{
|
||||
$this->addColumn('project', 'status', $this->integer(11)->defaultValue(null));
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function safeDown()
|
||||
{
|
||||
$this->dropColumn('project', 'status');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user