mirror of
https://github.com/Karaka-Management/oms-News.git
synced 2026-02-15 07:58:42 +00:00
[News] Added plain text
This commit is contained in:
parent
6014a13e4a
commit
51c5c5ef58
|
|
@ -49,6 +49,7 @@ class Installer extends InstallerAbstract
|
|||
`news_title` varchar(250) NOT NULL,
|
||||
`news_featured` tinyint(1) DEFAULT NULL,
|
||||
`news_content` text NOT NULL,
|
||||
`news_plain` text NOT NULL,
|
||||
`news_type` tinyint(2) NOT NULL,
|
||||
`news_status` tinyint(1) NOT NULL,
|
||||
`news_lang` varchar(2) NOT NULL,
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ class NewsArticleMapper extends DataMapperAbstract
|
|||
'news_created_by' => ['name' => 'news_created_by', 'type' => 'string', 'internal' => 'createdBy'],
|
||||
'news_publish' => ['name' => 'news_publish', 'type' => 'DateTime', 'internal' => 'publish'],
|
||||
'news_title' => ['name' => 'news_title', 'type' => 'string', 'internal' => 'title'],
|
||||
'news_plain' => ['name' => 'news_plain', 'type' => 'string', 'internal' => 'plain'],
|
||||
'news_content' => ['name' => 'news_content', 'type' => 'string', 'internal' => 'content'],
|
||||
'news_lang' => ['name' => 'news_lang', 'type' => 'string', 'internal' => 'language'],
|
||||
'news_status' => ['name' => 'news_status', 'type' => 'int', 'internal' => 'status'],
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user