Why does this simple foreign key one-to-many relationship give Typescript errors ? - Supabase