Compare commits
3 Commits
44b2ff6f24
...
6a752b81b2
| Author | SHA1 | Date | |
|---|---|---|---|
| 6a752b81b2 | |||
|
|
198b901671 | ||
|
|
3192e32d5d |
@@ -21,6 +21,7 @@ class ProcessOrder extends Model
|
|||||||
'coil_number',
|
'coil_number',
|
||||||
'order_quantity',
|
'order_quantity',
|
||||||
'received_quantity',
|
'received_quantity',
|
||||||
|
'updated_order_quantity',
|
||||||
'sfg_number',
|
'sfg_number',
|
||||||
'machine_name',
|
'machine_name',
|
||||||
'scrap_quantity',
|
'scrap_quantity',
|
||||||
|
|||||||
@@ -0,0 +1,31 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
|
return new class extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*/
|
||||||
|
public function up(): void
|
||||||
|
{
|
||||||
|
$sql1 = <<<'SQL'
|
||||||
|
ALTER TABLE process_orders
|
||||||
|
ADD COLUMN updated_order_quantity NUMERIC(10,3) NULL
|
||||||
|
SQL;
|
||||||
|
|
||||||
|
DB::statement($sql1);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*/
|
||||||
|
public function down(): void
|
||||||
|
{
|
||||||
|
// Schema::table('process_orders', function (Blueprint $table) {
|
||||||
|
// //
|
||||||
|
// });
|
||||||
|
}
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user