From d44ad4bc531313b262f6a55a2529eb39c87a4151 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Wed, 10 Jul 2024 00:19:29 +0200 Subject: [PATCH] Fix migration --- .../2024_07_06_144714_create_forms_prevention_text_column.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/2024_07_06_144714_create_forms_prevention_text_column.php b/database/migrations/2024_07_06_144714_create_forms_prevention_text_column.php index ab287036..bd3ed42a 100644 --- a/database/migrations/2024_07_06_144714_create_forms_prevention_text_column.php +++ b/database/migrations/2024_07_06_144714_create_forms_prevention_text_column.php @@ -14,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(['time' => 4, 'blocks' => [], 'version' => 1.0])); + $table->json('prevention_text')->after('description')->default(json_encode(['time' => 4, 'blocks' => [], 'version' => '1.0'])); }); }