From b68d0be4abf693c0fb8a7b9fd9382bc40ebec245 Mon Sep 17 00:00:00 2001 From: Hasbullah Almughniy <51769538+hasbullah-mughniy@users.noreply.github.com> Date: Mon, 18 Sep 2023 07:56:00 +0700 Subject: [PATCH] Update TableChanged.php Add change type --- src/Events/TableChanged.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Events/TableChanged.php b/src/Events/TableChanged.php index 3f8d811650..97fcc22d46 100644 --- a/src/Events/TableChanged.php +++ b/src/Events/TableChanged.php @@ -10,8 +10,11 @@ class TableChanged public $name; - public function __construct($name) + public $changeType; + + public function __construct($name, $changeType) { $this->name = $name; + $this->changeType = $changeType; } }