<?php

use Spatie\LaravelSettings\Migrations\SettingsMigration;

return new class extends SettingsMigration
{
    public function up(): void
    {
        $this->migrator->add('general.site_name', 'Yadi Parfum');
        $this->migrator->add('general.site_tagline', 'Seungit Pisan');
        $this->migrator->add('general.site_description', 'Yadi Parfum menyediakan parfum refill dan produk pewangi dengan kualitas terbaik.');
        $this->migrator->add('general.logo', null);
        $this->migrator->add('general.favicon', null);
        $this->migrator->add('general.maintenance_mode', false);
    }

    public function down(): void
    {
        $this->migrator->deleteIfExists('general');
    }
};
