hiqdev\assetpackagist\migrations\m161129_140000_queue::up PHP Method

up() public method

public up ( )
    public function up()
    {
        $this->createTable($this->tableName, ['id' => $this->primaryKey(), 'channel' => $this->string()->notNull(), 'job' => $this->binary()->notNull(), 'created_at' => $this->integer()->notNull(), 'started_at' => $this->integer(), 'finished_at' => $this->integer()], $this->tableOptions);
        $this->createIndex('channel', $this->tableName, 'channel');
        $this->createIndex('started_at', $this->tableName, 'started_at');
    }
m161129_140000_queue