File: /var/www/vhost/disk-apps/dev-beg.teky.com.co/database/seeds/FieldsTableSeeder.php
<?php
use App\Field;
use Illuminate\Database\Seeder;
class FieldsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Field::create([
"name" => 'Registration date',
"field_datasource_id" => NULL,
"field_value_id" => 1,
"field_input_id" => 4,
"min" => NULL,
"max" => NULL,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'registration_date',
"placeholder" => 'registration_date',
"scale" => NULL,
"disabled" => 0,
"readonly" => 0,
"required" => 1,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'Gallons',
"field_datasource_id" => NULL,
"field_value_id" => NULL,
"field_input_id" => 6,
"min" => NULL,
"max" => NULL,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'gallons',
"placeholder" => 'gallons',
"scale" => 5000,
"disabled" => 0,
"readonly" => 0,
"required" => 1,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'pH',
"field_datasource_id" => NULL,
"field_value_id" => 7,
"field_input_id" => 6,
"min" => 4.5,
"max" => 9.5,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'ph',
"placeholder" => 'ph',
"scale" => 0.1,
"disabled" => 0,
"readonly" => 0,
"required" => 1,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'ORP',
"field_datasource_id" => NULL,
"field_value_id" => 8,
"field_input_id" => 6,
"min" => 200,
"max" => 950,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'orq',
"placeholder" => 'orq',
"scale" => 10,
"disabled" => 0,
"readonly" => 0,
"required" => 1,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'Temp (p)',
"field_datasource_id" => NULL,
"field_value_id" => 9,
"field_input_id" => 6,
"min" => 50,
"max" => 102,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'temp_1',
"placeholder" => 'temp_1',
"scale" => 1,
"disabled" => 0,
"readonly" => 0,
"required" => 1,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'Salt',
"field_datasource_id" => NULL,
"field_value_id" => 10,
"field_input_id" => 6,
"min" => 0,
"max" => 6000,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'salt',
"placeholder" => 'salt',
"scale" => 100,
"disabled" => 0,
"readonly" => 0,
"required" => 1,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'FC1',
"field_datasource_id" => NULL,
"field_value_id" => 5,
"field_input_id" => 6,
"min" => 0,
"max" => 20,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'free_chlorine_1',
"placeholder" => 'free_chlorine_1',
"scale" => 1,
"disabled" => 0,
"readonly" => 0,
"required" => 1,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'FC2',
"field_datasource_id" => NULL,
"field_value_id" => 6,
"field_input_id" => 6,
"min" => 0,
"max" => 20,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'free_chlorine_2',
"placeholder" => 'free_chlorine_2',
"scale" => 0.1,
"disabled" => 0,
"readonly" => 0,
"required" => 1,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'Notes',
"field_datasource_id" => NULL,
"field_value_id" => NULL,
"field_input_id" => 7,
"min" => NULL,
"max" => NULL,
"maxlength" => 250,
"minlength" => 0,
"name_control" => 'notes',
"placeholder" => 'notes',
"scale" => NULL,
"disabled" => 0,
"readonly" => 0,
"required" => 0,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'Type filter',
"field_datasource_id" => 1,
"field_value_id" => NULL,
"field_input_id" => 1,
"min" => NULL,
"max" => NULL,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'type_filter',
"placeholder" => 'type_filter',
"scale" => NULL,
"disabled" => 0,
"readonly" => 0,
"required" => 1,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'Type event',
"field_datasource_id" => 2,
"field_value_id" => NULL,
"field_input_id" => 1,
"min" => NULL,
"max" => NULL,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'type_event',
"placeholder" => 'type_event',
"scale" => NULL,
"disabled" => 0,
"readonly" => 0,
"required" => 1,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'CH',
"field_datasource_id" => NULL,
"field_value_id" => 13,
"field_input_id" => 6,
"min" => 0,
"max" => 1000,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'ch',
"placeholder" => 'ch',
"scale" => 10,
"disabled" => 0,
"readonly" => 0,
"required" => 1,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'TA',
"field_datasource_id" => NULL,
"field_value_id" => 12,
"field_input_id" => 6,
"min" => 0,
"max" => 180,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'ta',
"placeholder" => 'ta',
"scale" => 10,
"disabled" => 0,
"readonly" => 0,
"required" => 1,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'CC',
"field_datasource_id" => NULL,
"field_value_id" => 15,
"field_input_id" => 6,
"min" => 0,
"max" => 1,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'cc',
"placeholder" => 'cc',
"scale" => 0.1,
"disabled" => 0,
"readonly" => 1,
"required" => 1,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'TC',
"field_datasource_id" => NULL,
"field_value_id" => 16,
"field_input_id" => 6,
"min" => 0,
"max" => 20,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'tc',
"placeholder" => 'tc',
"scale" => 0.1,
"disabled" => 0,
"readonly" => 0,
"required" => 1,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'CYA',
"field_datasource_id" => NULL,
"field_value_id" => 14,
"field_input_id" => 6,
"min" => 0,
"max" => 100,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'cya',
"placeholder" => 'cya',
"scale" => 10,
"disabled" => 0,
"readonly" => 0,
"required" => 1,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'TDS',
"field_datasource_id" => NULL,
"field_value_id" => 17,
"field_input_id" => 6,
"min" => 0,
"max" => 2000,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'tds',
"placeholder" => 'tds',
"scale" => 10,
"disabled" => 0,
"readonly" => 0,
"required" => 1,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'Phosp',
"field_datasource_id" => NULL,
"field_value_id" => 18,
"field_input_id" => 6,
"min" => 0,
"max" => 5,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'phosp',
"placeholder" => 'phosp',
"scale" => 0.1,
"disabled" => 0,
"readonly" => 0,
"required" => 1,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'Change Cartridge',
"field_datasource_id" => NULL,
"field_value_id" => 3,
"field_input_id" => 2,
"min" => NULL,
"max" => NULL,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'change_cartridge',
"placeholder" => 'change_cartridge',
"scale" => NULL,
"disabled" => 0,
"readonly" => 0,
"required" => 0,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'Clean Cartridge',
"field_datasource_id" => NULL,
"field_value_id" => 3,
"field_input_id" => 2,
"min" => NULL,
"max" => NULL,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'clean_cartride',
"placeholder" => 'clean_cartride',
"scale" => NULL,
"disabled" => 0,
"readonly" => 0,
"required" => 0,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'Clean pressure',
"field_datasource_id" => NULL,
"field_value_id" => NULL,
"field_input_id" => 6,
"min" => NULL,
"max" => NULL,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'clean_pressure',
"placeholder" => 'clean_pressure',
"scale" => NULL,
"disabled" => 0,
"readonly" => 1,
"required" => 0,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'Dirty pressure',
"field_datasource_id" => NULL,
"field_value_id" => NULL,
"field_input_id" => 6,
"min" => NULL,
"max" => NULL,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'dirty_pressure',
"placeholder" => 'dirty_pressure',
"scale" => NULL,
"disabled" => 0,
"readonly" => 1,
"required" => 0,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'IP',
"field_datasource_id" => NULL,
"field_value_id" => 19,
"field_input_id" => 6,
"min" => 0,
"max" => 50,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'influent_pressure',
"placeholder" => 'influent_pressure',
"scale" => 1,
"disabled" => 0,
"readonly" => 0,
"required" => 1,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'EP',
"field_datasource_id" => NULL,
"field_value_id" => 20,
"field_input_id" => 6,
"min" => 0,
"max" => 50,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'effluent_pressure',
"placeholder" => 'effluent_pressure',
"scale" => 1,
"disabled" => 0,
"readonly" => 0,
"required" => 1,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'DP',
"field_datasource_id" => NULL,
"field_value_id" => NULL,
"field_input_id" => 6,
"min" => NULL,
"max" => NULL,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'differetial_pressure',
"placeholder" => 'differetial_pressure',
"scale" => NULL,
"disabled" => 0,
"readonly" => 1,
"required" => 1,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'Temp (s)',
"field_datasource_id" => NULL,
"field_value_id" => 10,
"field_input_id" => 6,
"min" => 75,
"max" => 102,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'temp_2',
"placeholder" => 'temp_2',
"scale" => 1,
"disabled" => 0,
"readonly" => 0,
"required" => 1,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'Operation pressure',
"field_datasource_id" => NULL,
"field_value_id" => NULL,
"field_input_id" => 6,
"min" => NULL,
"max" => NULL,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'operation_pressure',
"placeholder" => 'operation_pressure',
"scale" => NULL,
"disabled" => 0,
"readonly" => 0,
"required" => 1,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'Change perlite',
"field_datasource_id" => NULL,
"field_value_id" => 3,
"field_input_id" => 2,
"min" => NULL,
"max" => NULL,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'change_perlite',
"placeholder" => 'change_perlite',
"scale" => NULL,
"disabled" => 0,
"readonly" => 0,
"required" => 0,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'Filter cleanense',
"field_datasource_id" => NULL,
"field_value_id" => 3,
"field_input_id" => 2,
"min" => NULL,
"max" => NULL,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'clean_cleanense',
"placeholder" => 'clean_cleanense',
"scale" => NULL,
"disabled" => 0,
"readonly" => 0,
"required" => 0,
"multiple" => 0,
"active" => 1,
]);
Field::create([
"name" => 'Calcium Chloride 77%',
"field_datasource_id" => NULL,
"field_value_id" => 23,
"field_input_id" => 7,
"min" => NULL,
"max" => NULL,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'calcium_chloride77',
"placeholder" => 'calcium_chloride77',
"scale" => NULL,
"disabled" => 0,
"readonly" => 1,
"required" => 0,
"multiple" => 0,
"calculated" => 1,
"calculated_form_id" => 3,
"calculated_field_id" => 12,
"calculated_formula_id" => 1,
"active" => 1,
]);
Field::create([
"name" => 'Sodium Bicarbonate',
"field_datasource_id" => NULL,
"field_value_id" => 24,
"field_input_id" => 7,
"min" => NULL,
"max" => NULL,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'sodium_bicarbonate',
"placeholder" => 'sodium_bicarbonate',
"scale" => NULL,
"disabled" => 0,
"readonly" => 1,
"required" => 0,
"multiple" => 0,
"calculated" => 1,
"calculated_form_id" => 3,
"calculated_field_id" => 13,
"calculated_formula_id" => 2,
"active" => 1,
]);
Field::create([
"name" => 'Cyanuric Acid',
"field_datasource_id" => NULL,
"field_value_id" => 25,
"field_input_id" => 7,
"min" => NULL,
"max" => NULL,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'cyanuric_acid',
"placeholder" => 'cyanuric_acid',
"scale" => NULL,
"disabled" => 0,
"readonly" => 1,
"required" => 0,
"multiple" => 0,
"calculated" => 1,
"calculated_form_id" => 3,
"calculated_field_id" => 16,
"calculated_formula_id" => 3,
"active" => 1,
]);
Field::create([
"name" => 'Ganular Cal-Hypo 68%',
"field_datasource_id" => NULL,
"field_value_id" => 26,
"field_input_id" => 7,
"min" => NULL,
"max" => NULL,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'ganular_cal',
"placeholder" => 'ganular_cal',
"scale" => NULL,
"disabled" => 0,
"readonly" => 1,
"required" => 0,
"multiple" => 0,
"calculated" => 1,
"calculated_form_id" => 3,
"calculated_field_id" => 8,
"calculated_formula_id" => 4,
"active" => 1,
]);
Field::create([
"name" => 'Backwash',
"field_datasource_id" => NULL,
"field_value_id" => 3,
"field_input_id" => 2,
"min" => NULL,
"max" => NULL,
"maxlength" => NULL,
"minlength" => NULL,
"name_control" => 'backwash',
"placeholder" => 'backwash',
"scale" => NULL,
"disabled" => 0,
"readonly" => 0,
"required" => 0,
"multiple" => 0,
"active" => 1,
]);
}
}