Skip to content

Commit

Permalink
add fillable data
Browse files Browse the repository at this point in the history
  • Loading branch information
ciaranmaher committed Sep 25, 2014
1 parent f274791 commit 235fd7f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/PostMeta.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 235fd7f

Please sign in to comment.