remote jobs
This commit is contained in:
1 parent
5a8b88b225
commit
b013b1213b
5 files changed
+66
-3
No files matched your search
@@ -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');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user