public function scopeOlderThan($query, $time)
    {
        if ( ! $time instanceof Carbon)
        {
            $time = Carbon::createFromTimestamp($time);
        }

        return $query->where('created_at', '<=', $time->toDateTimeString())->latest();
    }