Изменил привязку id при добавлении пациента

Изменил приоритет вывода карты после репликации
This commit is contained in:
brusnitsyn
2026-06-03 12:42:17 +09:00
parent c857bd9f72
commit e758769035
8 changed files with 154 additions and 41 deletions

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('medical_history_nurses', function (Blueprint $table) {
$table->bigInteger('mis_id')->unsigned()->index()->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('medical_history_nurses', function (Blueprint $table) {
$table->dropColumn('mis_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('migration_patient_nurses', function (Blueprint $table) {
$table->bigInteger('mis_id')->unsigned()->index()->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('migration_patient_nurses', function (Blueprint $table) {
$table->dropColumn('mis_id');
});
}
};