mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-14 12:11:32 +00:00
updated streamline-setup v2
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Streamline\Models\Country;
|
||||
|
||||
class CountriesTableSeeder extends Seeder {
|
||||
|
||||
/**
|
||||
* Run the database seeders.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run() {
|
||||
$countries = [
|
||||
'CONGO',
|
||||
'UGANDA',
|
||||
'RWANDA',
|
||||
'KENYA',
|
||||
'TANZANIA',
|
||||
'BURUNDI'
|
||||
];
|
||||
|
||||
foreach ($countries as $country):
|
||||
|
||||
Country::firstOrCreate([
|
||||
"name" => $country,
|
||||
]);
|
||||
|
||||
endforeach;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user