<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class ExperimentsSeeder extends Seeder
{
    public function run(): void
    {
        DB::table('experiments')->updateOrInsert(
            ['key' => 'PUSH_HOUR'],
            ['variant_keys' => json_encode(['09','11','14']), 'is_active' => true, 'created_at' => now(), 'updated_at' => now()]
        );
        DB::table('experiments')->updateOrInsert(
            ['key' => 'UPSELL_MESSAGE'],
            ['variant_keys' => json_encode(['speed','accuracy']), 'is_active' => true, 'created_at' => now(), 'updated_at' => now()]
        );
    }
}

