Verified Commit 1b94e276 authored by Korko's avatar Korko
Browse files

Regroup uses

parent 67b7f8ad
......@@ -11,13 +11,11 @@ use Illuminate\Database\Eloquent\Model;
class Draw extends Model
{
use HasFactory;
use HasFactory, HashId;
// Remove everything N weeks after the expiration_date
const WEEKS_BEFORE_DELETION = 3;
use HashId;
protected $hashConnection = 'draw';
/**
......
......@@ -9,9 +9,7 @@ use Illuminate\Foundation\Bus\DispatchesJobs;
class Mail extends Model
{
use HasFactory;
use HashId, DispatchesJobs;
use HasFactory, HashId, DispatchesJobs;
protected static $hashConnection = 'bounce';
......
......@@ -10,10 +10,7 @@ use Illuminate\Notifications\Notifiable;
class Participant extends Model
{
use HasFactory;
use Notifiable;
use HashId {
use HasFactory, Notifiable, HashId {
resolveRouteBinding as public baseResolver;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment