Changed column type broke filtering

Hi I changed a column type on table with existing data from int8 to text but now I get this error when trying to filter:
{
  code: '42883',
  details: null,
  hint: 'No operator matches the given name and argument types. You might need to add explicit type casts.',
  message: 'operator does not exist: text = bigint'
}

this used to work fine before:
  let { data, error } = await supabase
    .from('new-follows')
    .select('username,follow_by,twit_id')
    .eq('follow_by', 239518063);

but now this gives the error above:
  let { data, error } = await supabase
    .from('new-follows')
    .select('username,follow_by,twit_id')
    .eq('follow_by', '239518063');
Was this page helpful?