Fix migration
continuous-integration/drone/tag Build was killed Details

This commit is contained in:
philipp lang 2024-07-10 00:18:18 +02:00
parent a9ecdfe4bb
commit 94597e57c1
1 changed files with 1 additions and 2 deletions

View File

@ -3,7 +3,6 @@
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Tests\RequestFactories\EditorRequestFactory;
return new class extends Migration
{
@ -15,7 +14,7 @@ return new class extends Migration
public function up()
{
Schema::table('forms', function (Blueprint $table) {
$table->json('prevention_text')->after('description')->default(json_encode(EditorRequestFactory::new()->empty()->create()));
$table->json('prevention_text')->after('description')->default(json_encode(['time' => 4, 'blocks' => [], 'version' => 1.0]));
});
}