mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-13 11:41:31 +00:00
Build modified streamline images
The official image from streamline does not currently work for the arm64 platform. As a temporary measure, the source code and docker build scripts have been lifted from the official images and are used to build locally. Some additional modifications are made to reduce overall image size, these are documented in docker/README.md
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Streamline\Models\LocationOfDelivery;
|
||||
|
||||
class LocationOfDeliveryTableSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeders.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
/* `streamline_db`.`location_of_delivery` */
|
||||
$location_of_delivery = array(
|
||||
array('id' => '1','name' => 'Kisiizi Hospital Maternity','Active' => '1'),
|
||||
array('id' => '2','name' => 'Kisiizi Hospital A&E','Active' => '1'),
|
||||
array('id' => '3','name' => 'Other','Active' => '1'),
|
||||
array('id' => '4','name' => 'Another location','Active' => '0'),
|
||||
array('id' => '5','name' => 'Yet another location','Active' => '0'),
|
||||
array('id' => '6','name' => 'And another one','Active' => '0'),
|
||||
array('id' => '7','name' => 'Another locations','Active' => '1'),
|
||||
array('id' => '8','name' => 'Yet another location','Active' => '0'),
|
||||
array('id' => '9','name' => 'Another location','Active' => '0'),
|
||||
array('id' => '10','name' => 'kk','Active' => '0'),
|
||||
array('id' => '11','name' => 'Test d.l','Active' => '1'),
|
||||
array('id' => '12','name' => 'kk','Active' => '1'),
|
||||
array('id' => '13','name' => 'new nice location','Active' => '1'),
|
||||
array('id' => '14','name' => 'delivery comfrimation','Active' => '1'),
|
||||
array('id' => '15','name' => 'thursday delivery location','Active' => '1')
|
||||
);
|
||||
|
||||
foreach ($location_of_delivery as $location):
|
||||
LocationOfDelivery::firstOrCreate([
|
||||
"id" => $location['id'],
|
||||
"name" => $location['name']
|
||||
]);
|
||||
endforeach;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user