1
0
forked from poc/pds

Added column routine_test_time for motor testing masters table

This commit is contained in:
dhanabalan
2025-06-03 16:32:31 +05:30
parent ce4f9d7246
commit 7760c64ed3
5 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
<?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
{
$sql2 = <<<'SQL'
ALTER TABLE motor_testing_masters
ADD routine_test_time TIME NOT NULL DEFAULT '00:40:00';
SQL;
DB::statement($sql2);
}
/**
* Reverse the migrations.
*/
public function down(): void
{
// Schema::table('motor_testing_masters', function (Blueprint $table) {
// //
// });
}
};