httpd 코드 수정 202-> 200

This commit is contained in:
2026-01-02 14:50:27 +09:00
parent 094fa7c640
commit 8338df57c9
6 changed files with 306 additions and 27 deletions

View File

@@ -0,0 +1,26 @@
<?php
namespace App\Models;
use CodeIgniter\Model;
class NaverWorkerLogModel extends Model
{
protected $table = 'naver_worker_logs';
protected $primaryKey = 'seq'; // 'id'가 아니므로 명시 필요
protected $useAutoIncrement = true;
protected $returnType = 'array'; // 또는 'object'
protected $useSoftDeletes = false;
// 대량 입력을 허용할 필드들
protected $allowedFields = [
'atcl_no', 'raw_payload', 'status',
'retry_cnt', 'error_msg', 'target_db_id'
];
// 날짜 자동 업데이트 설정
protected $useTimestamps = true;
protected $createdField = 'created_at';
protected $updatedField = 'updated_at';
}