<?php

use Illuminate\Database\Migrations\Migration;
use Inside\Database\Migrations\HasConsole;
use Inside\Host\Migrations\CreateContentTypes;

class FixRopFolders extends Migration
{
    use CreateContentTypes;

    public function up(): void
    {
        Illuminate\Support\Facades\Artisan::call('cache:clear');
        Illuminate\Support\Facades\Artisan::call('cache:clear', ['store' => 'file']);
        Illuminate\Support\Facades\Artisan::call('bclh:fix-rops-folders');
    }
}
