<?php

use Illuminate\Database\Migrations\Migration;

class AddPages extends Migration
{
    use \Inside\Host\Migrations\CreateContentTypes;

    public function up(): void
    {
        $this->bootUp(__FILE__);

        $this->migrateContent('pages', false);

        $this->finishUp();
    }

    public function down(): void
    {
        $bridge = new \Inside\Host\Bridge\BridgeContentType();
        $bridge->contentTypeDelete('pages');
    }
}
