From af53dd0268da127c686117644f4f4df45bda27b3 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 20 Feb 2020 18:58:38 +0100 Subject: [PATCH] fixes #209 --- Models/EditorDocMapper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Models/EditorDocMapper.php b/Models/EditorDocMapper.php index ad02b4c..208b473 100644 --- a/Models/EditorDocMapper.php +++ b/Models/EditorDocMapper.php @@ -30,7 +30,7 @@ final class EditorDocMapper extends DataMapperAbstract /** * Columns. * - * @var array + * @var array * @since 1.0.0 */ protected static array $columns = [ @@ -40,7 +40,7 @@ final class EditorDocMapper extends DataMapperAbstract 'editor_doc_plain' => ['name' => 'editor_doc_plain', 'type' => 'string', 'internal' => 'plain'], 'editor_doc_content' => ['name' => 'editor_doc_content', 'type' => 'string', 'internal' => 'content'], 'editor_doc_path' => ['name' => 'editor_doc_path', 'type' => 'string', 'internal' => 'path'], - 'editor_doc_created_at' => ['name' => 'editor_doc_created_at', 'type' => 'DateTime', 'internal' => 'createdAt'], + 'editor_doc_created_at' => ['name' => 'editor_doc_created_at', 'type' => 'DateTime', 'internal' => 'createdAt', 'readonly' => true], ]; /**