osb/database/seeders/LanguageTableSeeder.php
2021-06-30 14:46:49 +10:00

24 lines
324 B
PHP

<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use App\Models\Language;
class LanguageTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$o = new Language;
$o->id = 1;
$o->name = 'English';
$o->iso = 'en_EN';
$o->save();
}
}