Add execution_priority to task

This commit is contained in:
iIronside committed 2023-10-13 17:58:58 +03:00
1 parent 5b3f6518dc
commit c20d7fbe77
7 files changed
+81 -47

No files matched your search

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