From 795ea9bab60da175e71e366664c9bfb44c484919 Mon Sep 17 00:00:00 2001 From: Simon Asika Date: Sat, 14 Dec 2024 16:30:01 +0800 Subject: [PATCH] Watch params naming --- packages/orm/src/Attributes/Watch.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/orm/src/Attributes/Watch.php b/packages/orm/src/Attributes/Watch.php index da62740d8..3aa54d1a6 100644 --- a/packages/orm/src/Attributes/Watch.php +++ b/packages/orm/src/Attributes/Watch.php @@ -23,8 +23,13 @@ class Watch implements AttributeInterface public const BEFORE_SAVE = 1 << 0; + /** + * @deprecated Use INCLUDE_CREATE instead. + */ public const ON_CREATE = 1 << 1; + public const INCLUDE_CREATE = 1 << 1; + public const INCLUDE_UPDATE_WHERE = 1 << 2; /**