Skip to content

Commit 1cec7c6

Browse files
author
Toby Allen
committed
prevent guarded to allow create.
1 parent e76f3da commit 1cec7c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AnyModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class AnyModel extends Model
1010
{
1111

1212
public $timestamps = false;
13-
13+
protected $guarded = [];
1414

1515
public static function table($tablename, $options = []){
1616

0 commit comments

Comments
 (0)