Добавил сохранение ссылки на карту для отчета мед. сестры
This commit is contained in:
@@ -11,6 +11,7 @@ class ReportNurseMigrationPatient extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'medical_history_id',
|
||||
'original_id',
|
||||
'ingoing_date',
|
||||
'out_date',
|
||||
'diagnosis_id',
|
||||
|
||||
@@ -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');
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user