Additional Changes
Some checks failed
Tests / PHP 8.3 (push) Has been cancelled
Tests / PHP 8.4 (push) Has been cancelled
Tests / PHP 8.5 (push) Has been cancelled

This commit is contained in:
2026-06-02 22:04:03 +08:00
parent e6a9a80c32
commit 64d4b331a8
151 changed files with 15070 additions and 945 deletions

View File

@@ -0,0 +1,35 @@
<?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::create('labor_rates', function (Blueprint $table) {
$table->id();
$table->char('ulid', 26)->unique();
$table->string('trade_name')->unique();
$table->decimal('hourly_rate', 10, 2);
$table->string('status')->default('active'); // active, inactive
$table->timestamps();
});
Schema::create('equipment_rates', function (Blueprint $table) {
$table->id();
$table->char('ulid', 26)->unique();
$table->string('equipment_name')->unique();
$table->decimal('hourly_rate', 10, 2);
$table->string('status')->default('active'); // active, inactive
$table->timestamps();
});
}
public function down(): void
{
Schema::dropIfExists('equipment_rates');
Schema::dropIfExists('labor_rates');
}
};