feat: [business-card] ordered_by, ordered_at 컬럼 추가

- 3단계 워크플로우: 요청 → 제작의뢰 → 처리완료
This commit is contained in:
김보곤
2026-02-25 05:41:25 +09:00
parent eb6bd5e03e
commit 3da8a16bfc

View File

@@ -0,0 +1,23 @@
<?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::table('business_card_requests', function (Blueprint $table) {
$table->unsignedBigInteger('ordered_by')->nullable()->after('status')->comment('제작의뢰 처리자 ID');
$table->timestamp('ordered_at')->nullable()->after('ordered_by')->comment('제작의뢰 일시');
});
}
public function down(): void
{
Schema::table('business_card_requests', function (Blueprint $table) {
$table->dropColumn(['ordered_by', 'ordered_at']);
});
}
};