Files
streamline-emr/docker/_streamline-src/database/seeders/TheatreLocationsTableSeeder.php
T

26 lines
866 B
PHP
Executable File

<?php
namespace Database\Seeders;
use Streamline\Models\TheatreLocation;
use Illuminate\Database\Seeder;
class TheatreLocationsTableSeeder extends Seeder
{
/**
* Run the database seeders.
*
* @return void
*/
public function run()
{
TheatreLocation::firstOrCreate(['id' => '1','name' => 'General Theatre 1']);
TheatreLocation::firstOrCreate(['id' => '2','name' => 'General Theatre 2']);
TheatreLocation::firstOrCreate(['id' => '3','name' => 'General Theatre 3']);
TheatreLocation::firstOrCreate(['id' => '4','name' => 'General Theatre 4']);
TheatreLocation::firstOrCreate(['id' => '5','name' => 'Maternity Theatre']);
TheatreLocation::firstOrCreate(['id' => '6','name' => 'Accident']);
TheatreLocation::firstOrCreate(['id' => '7','name' => 'Special Care Baby Unit']);
}
}