DDL
This commit is contained in:
parent
d7f3eaf85b
commit
0bcdd065be
@ -12,9 +12,11 @@ public function up(): void
|
||||
{
|
||||
Schema::create('orthanc_hosts', static function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->boolean('is_active')->index();
|
||||
$table->string('server_name')->unique();
|
||||
$table->string('host');
|
||||
$table->integer('port');
|
||||
$table->string('rest_api_endpoint');
|
||||
$table->string('ae_title')->nullable();
|
||||
$table->string('username')->nullable();
|
||||
$table->string('password')->nullable();
|
||||
|
@ -53,17 +53,21 @@ public function run(): void
|
||||
|
||||
OrthancHost::create(
|
||||
[
|
||||
'is_active' => true,
|
||||
'server_name' => 'Orthanc Main',
|
||||
'host' => 'pacs.mylabctg.com',
|
||||
'port' => 8042,
|
||||
'rest_api_endpoint' => 'http://pacs.mylabctg.com:8042/',
|
||||
'ae_title' => 'RADFUSION',
|
||||
]
|
||||
);
|
||||
OrthancHost::create(
|
||||
[
|
||||
'is_active' => false,
|
||||
'server_name' => 'Orthanc XR',
|
||||
'host' => 'pacs.mylabctg.com',
|
||||
'port' => 8043,
|
||||
'rest_api_endpoint' => 'http://pacs.mylabctg.com:8042/',
|
||||
'ae_title' => 'RADFUSION',
|
||||
'institute_id' => $chev->id,
|
||||
'facility_id' => $chev_xr->id,
|
||||
|
Loading…
Reference in New Issue
Block a user