Priority::change PHP 메소드

change() 공개 메소드

Write your reversible migrations using this method. More information on writing migrations is available here: http://docs.phinx.org/en/latest/migrations.html#the-abstractmigration-class
public change ( ) : void
리턴 void
    public function change()
    {
        $table = $this->table('queued_tasks');
        $table->addColumn('priority', 'integer', ['null' => false, 'default' => 5, 'length' => 3])->update();
    }
Priority