We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33dd691 commit c53bde5Copy full SHA for c53bde5
user_guide_src/source/installation/upgrade_models/002.php
@@ -10,7 +10,7 @@ class NewsModel extends Model
10
protected $table = 'news';
11
12
// Sets the field names to allow to insert/update.
13
- protected $allowedFields = ['title', 'slug', 'body'];
+ protected $allowedFields = ['title', 'slug', 'text'];
14
15
public function setNews($title, $slug, $text)
16
{
0 commit comments