<?php

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

return new class extends Migration
{
    public function up(): void
    {
        DB::table('subscription_plans')
            ->where('name', 'free')
            ->update(['label' => 'Free Trial']);
    }

    public function down(): void
    {
        DB::table('subscription_plans')
            ->where('name', 'free')
            ->update(['label' => 'Free']);
    }
};
