Skip to content

Commit

Permalink
Renaming tag to tags column
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryk committed Jun 9, 2021
1 parent 8946200 commit 77b8c60
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Models/MailatorSchedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**
* Class MailatorSchedule.
*
* @property string tag
* @property string tags
* @property string name
* @property string targetable_type
* @property string targetable_id
Expand Down Expand Up @@ -78,6 +78,7 @@ public function getTable()

protected $fillable = [
'name',
'tags',
'action',
'recipients',
'mailable_class',
Expand Down Expand Up @@ -411,7 +412,7 @@ public function tag(string | array $tag): self
$tag = implode(',', $tag);
}

$this->tag = $tag;
$this->tags = $tag;

return $this;
}
Expand Down

0 comments on commit 77b8c60

Please sign in to comment.