fix: [database] codebridge 모델 cross-DB 관계 오류 수정

- samdb 공유 모델에 $connection = 'mysql' 명시적 선언
- codebridge 모델에서 eager-load 시 connection 상속 방지
- 영향 모델: User, Tenant, Department, Process, File(2), Approval, AiQuotationModule, InterviewProject
This commit is contained in:
김보곤
2026-03-09 23:35:13 +09:00
parent 12427326df
commit a6d93f7c02
9 changed files with 20 additions and 0 deletions

View File

@@ -12,6 +12,8 @@ class InterviewProject extends Model
{
use BelongsToTenant, ModelTrait, SoftDeletes;
protected $connection = 'mysql';
protected $fillable = [
'tenant_id',
'company_name',