unsignedBigInteger('created_by_id')->nullable(); $table->string('created_by_type')->nullable(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('patient_prescription', function (Blueprint $table) { $table->dropColumn('created_by_id'); $table->dropColumn('created_by_type'); }); } };