public function scopeOnlyExpired($query) { return $query->where('expire_time', '<', Carbon::now()); }