Unknown column '1⊂types' in 'where clause'