From d68aad434d0f3bbcc793959e6de1b5d6e87ecbf5 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 26 Feb 2019 00:00:31 +0100 Subject: [PATCH] Mapper/Module/Schema fixes thanks to new tests --- Models/CommentMapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Models/CommentMapper.php b/Models/CommentMapper.php index 558dead..f6d3f7d 100644 --- a/Models/CommentMapper.php +++ b/Models/CommentMapper.php @@ -36,7 +36,7 @@ final class CommentMapper extends DataMapperAbstract protected static $columns = [ 'comments_comment_id' => ['name' => 'comments_comment_id', 'type' => 'int', 'internal' => 'id'], 'comments_comment_title' => ['name' => 'comments_comment_title', 'type' => 'string', 'internal' => 'title'], - 'comments_comment_status' => ['name' => 'comments_comment_status', 'type' => 'string', 'internal' => 'status'], + 'comments_comment_status' => ['name' => 'comments_comment_status', 'type' => 'int', 'internal' => 'status'], 'comments_comment_content' => ['name' => 'comments_comment_content', 'type' => 'string', 'internal' => 'content'], 'comments_comment_content_raw' => ['name' => 'comments_comment_content_raw', 'type' => 'string', 'internal' => 'contentRaw'], 'comments_comment_list' => ['name' => 'comments_comment_list', 'type' => 'int', 'internal' => 'list'],