Fix migration
continuous-integration/drone/tag Build was killed
Details
continuous-integration/drone/tag Build was killed
Details
This commit is contained in:
parent
a9ecdfe4bb
commit
94597e57c1
|
@ -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]));
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue