芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/migrations/20190823081448_add_image_processing_task_migration.php
. */ use Phinx\Migration\AbstractMigration; /** * Class AddImageProcessingTaskMigration */ class AddImageProcessingTaskMigration extends AbstractMigration { /** @inheritdoc */ public function change() { $table = $this->table('task'); $table->insert([ [ 'name' => 'Image Processing', 'class' => '\Xibo\XTR\ImageProcessingTask', 'options' => '[]', 'schedule' => '*/5 * * * * *', 'isActive' => '1', 'configFile' => '/tasks/image-processing.task' ], ])->save(); } }