osb/database/seeds/LanguageTableSeeder.php
2018-07-06 16:57:49 +10:00

22 lines
295 B
PHP

<?php
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();
}
}