lasthourcloud/database/seeders/EnvironmentVariableSeeder.php

23 lines
439 B
PHP
Raw Normal View History

2023-05-04 20:29:14 +00:00
<?php
namespace Database\Seeders;
use App\Models\EnvironmentVariable;
use Illuminate\Database\Seeder;
class EnvironmentVariableSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
EnvironmentVariable::create([
'key' => 'NODE_ENV',
'value' => 'production',
'is_build_time' => true,
'application_id' => 1,
]);
}
}