Add delivery_note field to products for planned delivery info
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration {
|
||||
public function up(): void {
|
||||
Schema::table('products', function (Blueprint $table) {
|
||||
$table->string('delivery_note')->nullable()->after('track_stock');
|
||||
});
|
||||
}
|
||||
public function down(): void {
|
||||
Schema::table('products', function (Blueprint $table) {
|
||||
$table->dropColumn('delivery_note');
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user