Download Latest Version Version v2.2.0 source code.zip (45.3 kB)
Email in envelope

Get an email when there's a new version of Laravel Haystack

Home / v2.0.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2023-08-22 1.1 kB
Version v2.0.0 source code.tar.gz 2023-08-22 20.5 kB
Version v2.0.0 source code.zip 2023-08-22 44.8 kB
Totals: 3 Items   66.4 kB 0

What's Changed

Upgrade from v1

You should add the following migration to your Laravel application to support the new "retryUntil" feature.

:::php
<?php

use Sammyjo20\LaravelHaystack\Models\Haystack;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
    public function up()
    {
        Schema::table('haystack_bales', function (Blueprint $table) {
             $table->integer('retry_until')->after('attempts')->nullable();
        });
    }

    public function down()
    {
        Schema::table('haystack_bales', function (Blueprint $table) {
            $table->dropColumn('retry_until');
        });
    }
};

Full Changelog: https://github.com/Sammyjo20/laravel-haystack/compare/v0.12.0...v2.0.0

Source: README.md, updated 2023-08-22