remote jobs

This commit is contained in:
2018-11-21 18:14:56 +03:00
parent 5a8b88b225
commit b013b1213b
5 changed files with 66 additions and 3 deletions

View File

@ -0,0 +1,25 @@
<?php
use yii\db\Migration;
/**
* Handles adding schedule to table `hh_job`.
*/
class m181121_150057_add_schedule_column_to_hh_job_table extends Migration
{
/**
* {@inheritdoc}
*/
public function safeUp()
{
$this->addColumn('hh_job', 'schedule', $this->string(100));
}
/**
* {@inheritdoc}
*/
public function safeDown()
{
$this->dropColumn('hh_job', 'schedule');
}
}