<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\DB;

class CleanFileSectionValues extends Migration
{
    public function up(): void
    {
        DB::table('inside_section_file')->where('title', 'Titre du document')->update(['title' => null]);
        DB::table('paragraph_revision__field_title')->where('field_title_value', 'Titre du document')->delete();
        DB::table('paragraph__field_title')->where('field_title_value', 'Titre du document')->delete();
    }

    public function down(): void
    {
    }
}
