Unknown column 'codigo_unico' in 'where clause'