diff --git a/database/migrations/2026_02_02_095500_make_tenant_id_nullable_in_sales_contract_products.php b/database/migrations/2026_02_02_095500_make_tenant_id_nullable_in_sales_contract_products.php new file mode 100644 index 0000000..cd1c1cc --- /dev/null +++ b/database/migrations/2026_02_02_095500_make_tenant_id_nullable_in_sales_contract_products.php @@ -0,0 +1,29 @@ +unsignedBigInteger('tenant_id')->nullable()->change(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('sales_contract_products', function (Blueprint $table) { + $table->unsignedBigInteger('tenant_id')->nullable(false)->change(); + }); + } +};