瀏覽代碼

default order

Alexander Musikhin 1 周之前
父節點
當前提交
7dde5825fc
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/Models/NotificationDeliveryLog.php

+ 1 - 0
app/Models/NotificationDeliveryLog.php

@@ -21,6 +21,7 @@ class NotificationDeliveryLog extends Model
     public const STATUS_DEAD_LETTER = 'dead_letter';
 
     public const DEFAULT_SORT_BY = 'created_at';
+    public const DEFAULT_ORDER_BY = 'desc';
 
     protected $fillable = [
         'user_notification_id',