Skip to content

Commit

Permalink
prevent guarded to allow create.
Browse files Browse the repository at this point in the history
  • Loading branch information
Toby Allen committed Sep 27, 2023
1 parent e76f3da commit 1cec7c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AnyModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class AnyModel extends Model
{

public $timestamps = false;

protected $guarded = [];

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

Expand Down

0 comments on commit 1cec7c6

Please sign in to comment.