Merge pull request 'ranjith-dev' (#1011) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 18s

Reviewed-on: #1011
This commit was merged in pull request #1011.
This commit is contained in:
2026-09-10 12:22:52 +00:00
2 changed files with 38 additions and 0 deletions

View File

@@ -18,6 +18,8 @@ class ProductionOrder extends Model
'production_order',
'from_serial_number',
'to_serial_number',
'print_status',
'print_panel_status',
'created_at',
'created_by',
'updated_at',

View File

@@ -0,0 +1,36 @@
<?php
use Illuminate\Database\Migrations\Migration;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
$sql1 = <<<'SQL'
ALTER TABLE production_orders
ADD COLUMN print_status TEXT DEFAULT NULL
SQL;
DB::statement($sql1);
$sql2 = <<<'SQL'
ALTER TABLE production_orders
ADD COLUMN print_panel_status TEXT DEFAULT NULL
SQL;
DB::statement($sql2);
}
/**
* Reverse the migrations.
*/
public function down(): void
{
// Schema::table('production_orders', function (Blueprint $table) {
// //
// });
}
};