From 3572e985eff8dbef3645cf16075241e029286062 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 20 Feb 2020 18:58:38 +0100 Subject: [PATCH] fixes #209 --- Models/AuditMapper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Models/AuditMapper.php b/Models/AuditMapper.php index 68f1bc3..4ab1c44 100644 --- a/Models/AuditMapper.php +++ b/Models/AuditMapper.php @@ -30,13 +30,13 @@ final class AuditMapper extends DataMapperAbstract /** * Columns. * - * @var array + * @var array * @since 1.0.0 */ protected static array $columns = [ 'auditor_audit_id' => ['name' => 'auditor_audit_id', 'type' => 'int', 'internal' => 'id'], 'auditor_audit_created_by' => ['name' => 'auditor_audit_created_by', 'type' => 'int', 'internal' => 'createdBy'], - 'auditor_audit_created_at' => ['name' => 'auditor_audit_created_at', 'type' => 'DateTime', 'internal' => 'createdAt'], + 'auditor_audit_created_at' => ['name' => 'auditor_audit_created_at', 'type' => 'DateTime', 'internal' => 'createdAt', 'readonly' => true], 'auditor_audit_ip' => ['name' => 'auditor_audit_ip', 'type' => 'int', 'internal' => 'ip'], 'auditor_audit_module' => ['name' => 'auditor_audit_module', 'type' => 'string', 'internal' => 'module'], 'auditor_audit_ref' => ['name' => 'auditor_audit_ref', 'type' => 'string', 'internal' => 'ref'],