title: Laravel Relationship with integer[] type of postgresql column
body: <p>I have <code>categories</code> table and <code>products</code> table. in <code>products</code> table have <code>category_id</code> column type of <code>integer[]</code>.</p>
  <blockquote>
  <p>ex: {1,2,3}</p>
  </blockquote>
  <p>.</p>
  <p>And I need <code>products</code> list with <code>category</code> relation which <code>categories.id</code> exist <code>products.category_id</code></p>
  <p>I tried in model <code>Product</code>:</p>
  <pre><code>public function category()
  {
      return $this-&gt;belongsTo(Category::class, \DB::raw(&quot;ANY(category_id)&quot;), 'id');
  }
  </code></pre>
  <p>no get <code>category is null</code>.</p>