Добавил сохранение ссылки на карту для отчета мед. сестры

This commit is contained in:
brusnitsyn
2026-06-11 15:28:51 +09:00
parent b9dffe3ac7
commit 373f99ddbb
2 changed files with 29 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ class ReportNurseMigrationPatient extends Model
{ {
protected $fillable = [ protected $fillable = [
'medical_history_id', 'medical_history_id',
'original_id',
'ingoing_date', 'ingoing_date',
'out_date', 'out_date',
'diagnosis_id', 'diagnosis_id',

View File

@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('report_nurse_migration_patients', function (Blueprint $table) {
$table->bigInteger('original_id')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('report_nurse_migration_patients', function (Blueprint $table) {
$table->dropColumn('original_id');
});
}
};