diff --git a/app/Models/RequestLog.php b/app/Models/RequestLog.php index e567d34f..20010d10 100644 --- a/app/Models/RequestLog.php +++ b/app/Models/RequestLog.php @@ -35,6 +35,7 @@ class RequestLog extends Model 'penempatan_kamar', 'catatan', 'import_system', + 'diagnosis', 'code', 'approved_by', 'approved_at', diff --git a/database/migrations/2024_01_15_114611_add_column_diagnosis_to_request_log.php b/database/migrations/2024_01_15_114611_add_column_diagnosis_to_request_log.php new file mode 100644 index 00000000..742ff18b --- /dev/null +++ b/database/migrations/2024_01_15_114611_add_column_diagnosis_to_request_log.php @@ -0,0 +1,32 @@ +string('diagnosis')->after('import_system')->default(null); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('request_logs', function (Blueprint $table) { + $table->dropColumn('diagnosis'); + }); + } +};