diff --git a/database/migrations/2026_01_20_050000_make_referencia_nullable_on_orden_produccions.php b/database/migrations/2026_01_20_050000_make_referencia_nullable_on_orden_produccions.php new file mode 100644 index 0000000..72926ca --- /dev/null +++ b/database/migrations/2026_01_20_050000_make_referencia_nullable_on_orden_produccions.php @@ -0,0 +1,23 @@ +string('referencia')->nullable()->change(); + }); + } + + public function down(): void + { + Schema::table('orden_produccions', function (Blueprint $table) { + $table->string('referencia')->nullable(false)->change(); + }); + } +}; \ No newline at end of file