From 39fac0af7aceb45b194a86528399cb59654ebe91 Mon Sep 17 00:00:00 2001 From: brusnitsyn Date: Thu, 25 Jun 2026 14:08:34 +0900 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D1=81=D1=82=D0=BE=D0=BB=D0=B1=D0=B5=D1=86=20=D0=A2?= =?UTF-8?q?=D0=B8=D0=BF=20=D0=BE=D0=BF=D0=BB=D0=B0=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...06_25_135809_add_column_profit_type_id.php | 40 +++++++++++++++++++ ..._type_id_in_report_duty_patients_table.php | 28 +++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 database/migrations/2026_06_25_135809_add_column_profit_type_id.php create mode 100644 database/migrations/2026_06_25_135809_add_column_profit_type_id_in_report_duty_patients_table.php diff --git a/database/migrations/2026_06_25_135809_add_column_profit_type_id.php b/database/migrations/2026_06_25_135809_add_column_profit_type_id.php new file mode 100644 index 0000000..400b9ca --- /dev/null +++ b/database/migrations/2026_06_25_135809_add_column_profit_type_id.php @@ -0,0 +1,40 @@ +integer('profit_type_id')->default(0); + }); + Schema::table('medical_history_nurses', function (Blueprint $table) { + $table->integer('profit_type_id')->default(0); + }); + Schema::table('report_duty_patients', function (Blueprint $table) { + $table->integer('profit_type_id')->default(0); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('medical_history_corrections', function (Blueprint $table) { + $table->dropColumn('profit_type_id'); + }); + Schema::table('medical_history_nurses', function (Blueprint $table) { + $table->dropColumn('profit_type_id'); + }); + Schema::table('report_duty_patients', function (Blueprint $table) { + $table->dropColumn('profit_type_id'); + }); + } +}; diff --git a/database/migrations/2026_06_25_135809_add_column_profit_type_id_in_report_duty_patients_table.php b/database/migrations/2026_06_25_135809_add_column_profit_type_id_in_report_duty_patients_table.php new file mode 100644 index 0000000..615c861 --- /dev/null +++ b/database/migrations/2026_06_25_135809_add_column_profit_type_id_in_report_duty_patients_table.php @@ -0,0 +1,28 @@ +integer('profit_type_id')->default(0); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('report_duty_patients', function (Blueprint $table) { + $table->dropColumn('profit_type_id'); + }); + } +};