<?php

use Illuminate\Database\Migrations\Migration;
use Inside\Host\Migrations\CreateContentTypes;
use Inside\Host\Bridge\BridgeContentType;

class DeleteBannersAndCreateActivitiesBlockContentType extends Migration
{
    use CreateContentTypes;

    public function up(): void
    {
        $bridge = new BridgeContentType();
        $bridge->contentTypeDelete('banners');

        $this->bootUp(__FILE__);
        $this->migrateContent('activity_stats');
        $this->migrateContent('activities_block');
        $this->finishUp();
    }
}
