Webhook作成数を制限

This commit is contained in:
shibafu committed 2020-07-23 22:36:08 +09:00
1 parent 08e12cd218
commit 059c6d69cf
3 files changed
+23 -10

No files matched your search

+3
View File
@@ -7,6 +7,9 @@ use Illuminate\Support\Str;
class CheckinWebhook extends Model
{
/** @var int ユーザーごとの作成数制限 */
const PER_USER_LIMIT = 10;
public $incrementing = false;
protected $keyType = 'string';