Change default database

After sign up, the default "postgres" database is created. I can create a different database but the web dashboard doesn't seem to have a way to switch between databases. Is it recommended to use the default DB or I might have missed a configuration somewhere?
5 Replies
inder
inder3w ago
dashboard will only connect to postgres db
Duc Anh Khu
Duc Anh KhuOP3w ago
if I use a different DB, will Auth, RLS etc.. features work?
inder
inder3w ago
RLS is a postgesql feature. If you want the exact same behavior then you'll need to have the same roles, schemas basically everything which is there when you create a new postgres db
Duc Anh Khu
Duc Anh KhuOP3w ago
thank you
inder
inder3w ago
Its better to use the default postgres db. Will save you a lot of debugging. Create multiple projects if you have to or run supabase locally using supabase cli

Did you find this page helpful?