From 235fd7f23a9300c67d7e63cd1069a4cde18a03b4 Mon Sep 17 00:00:00 2001 From: Ciaran Maher Date: Thu, 25 Sep 2014 15:42:57 +0100 Subject: [PATCH] add fillable data --- src/PostMeta.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/PostMeta.php b/src/PostMeta.php index 0db2458..9019e77 100644 --- a/src/PostMeta.php +++ b/src/PostMeta.php @@ -15,6 +15,11 @@ class PostMeta extends Eloquent */ protected $primaryKey = 'meta_id'; + /** + * @var array Mass-assignable attributes + */ + protected $fillable = ['post_id', 'meta_key', 'meta_value']; + /** * @var boolean Disable 'created_at' and 'updated_at' timestamp columns */