HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhost/disk-apps/dev-beg.teky.com.co/database/seeds/FieldValuesTableSeeder.php
<?php

use App\FieldValue;
use Illuminate\Database\Seeder;

class FieldValuesTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        FieldValue::create([
            "name"      => "current_date",
            "value"     => "current_date",
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "true",
            "value"     => 1,
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "false",
            "value"     => 0,
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "gallons",
            "value"     => "03915300",
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "FC 1 (Free Chlorine)",
            "value"     => "2",
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "FC 0.1 (Free Chlorine)",
            "value"     => "2.0",
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "pH",
            "value"     => "7.5",
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "ORP (Oxide Redution Potential)",
            "value"     => "650",
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "TEMP Pool (Temperature)",
            "value"     => "85",
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "TEMP Spa(Temperature)",
            "value"     => "100",
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "Salt",
            "value"     => "4000",
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "TA (Total Alkalinity)",
            "value"     => "80",
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "CH (Calcium Hardness)",
            "value"     => "400",
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "CYA (Cyanuric acid)",
            "value"     => "0",
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "CC (Combined Chlorine)",
            "value"     => "0.0",
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "TC (Total Chlorine)",
            "value"     => "2.0",
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "TDS (Total disolve solids)",
            "value"     => "1000",
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "Phosp (Phospates)",
            "value"     => "0.5",
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "IP (Influent pressure)",
            "value"     => "20",
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "EP (Effluent pressure)",
            "value"     => "20",
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "SP (Suction pressure)",
            "value"     => "0",
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "BBP (Before Basket pressure)",
            "value"     => "0",
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "Ideal CH",
            "value"     => "250",
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "Ideal TA",
            "value"     => "80",
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "Ideal CYA",
            "value"     => "20",
            "active"    => 1
        ]);

        FieldValue::create([
            "name"      => "Ideal FC",
            "value"     => "5",
            "active"    => 1
        ]);
    }
}