[Solved] How to see a supabase with references to authUsers.id?

I have a supabase postgres and I'm trying to seed a table (permissions) with a foreign key to the drizzle-orm/supabase authUsers table.
Here's what I'm getting when I try to seed permissions:
Error: Column 'userId' has not null contraint,
and you didn't specify a table for foreign key on column 'userId' in 'permissions' table.
Was this page helpful?