浏览代码

Update Story model, change daily limit to 10

Daniel Supernault 5 年之前
父节点
当前提交
3f75763d7d
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      app/Story.php

+ 2 - 0
app/Story.php

@@ -10,6 +10,8 @@ class Story extends Model
 {
     use HasSnowflakePrimary;
 
+    public const MAX_PER_DAY = 10;
+
     /**
      * Indicates if the IDs are auto-incrementing.
      *