Technical requirements
Compared to the previous chapter, where we mostly touched on the database with the help of the Supabase Studio dashboard, we will dig deeper and deal with SQL expressions, diving deeper into the database design requirements for completing our multi-tenancy. Although I’ll explain everything, you need basic SQL knowledge to understand what’s discussed in this chapter.
The related code for this chapter can be found within the Ch06_RLS_Permissions_Domains
branch (https://github.com/PacktPublishing/Building-Production-Grade-Web-Applications-with-Supabase/tree/Ch06_RLS_Permissions_Domains).
Use the reset
script (npm run reset
) to get a fresh, hassle-free Supabase instance matching the progress of the branch.