feat:본사 진행 상태 및 수당 지급 상태 컬럼 추가
sales_tenant_managements 테이블: - hq_status: 본사 진행 상태 (pending, review, planning, coding, dev_test, dev_done, int_test, handover) - incentive_status: 수당 지급 상태 (pending, eligible, paid) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<?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
|
||||
{
|
||||
Schema::table('sales_tenant_managements', function (Blueprint $table) {
|
||||
// 본사 진행 상태
|
||||
$table->string('hq_status', 20)->default('pending')->after('manager_progress')
|
||||
->comment('본사 진행 상태: pending, review, planning, coding, dev_test, dev_done, int_test, handover');
|
||||
|
||||
// 수당 지급 상태
|
||||
$table->string('incentive_status', 20)->default('pending')->after('hq_status')
|
||||
->comment('수당 지급 상태: pending, eligible, paid');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('sales_tenant_managements', function (Blueprint $table) {
|
||||
$table->dropColumn(['hq_status', 'incentive_status']);
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user