When working with Supabase Storage, deciding whether to use the anon key or the secret key depends on your application’s context and security requirements. Here’s a detailed breakdown to help you decide:
Drizzle is an ORM that makes it easy to work with db, data migrations, etc. Here’s how you can define foreign keys, relations, and perform table joins using Drizzle ORM in a Next.js app with Supabase: