I was trying this solution out to see if it would work for my needs, but as far as I can see (and some old forum posts as well), there's only a singular internal database available. Is there any option for multiple internal databases (e.g. per app) or some table isolation feature that ties tables to apps? Being limited to a single internal database really reduces the usefulness of this tool from my perspective.
Hi @nehpets and welcome to Retool!
You are correct, Retool only offers one Retool database. As far as a table isolation feature, I can think of 2 things for you:
-
Use schemas. Creating a schema is simple enough
CREATE SCHEMA app1
,CREATE SCHEMA app2
then use them in queries. Be sure to use fully qualified names when referencing tablesschema.table
. If using Retool queries or GUI table editors, make sure to reference the full path, since Retoolβs default schema is usuallypublic.
. -
Get a free Neon account and set up as many databases as you want. This is what Retool uses under the hood. It's really simple to add a resource per db and then use one per app. In Neon even with the free version you will have much more control.
Hope this helps!
Agreed with @Shawn_Optipath's recommendations
Your feature request aligns with how we are thinking about improvements to Retool Database, though. We have a project in progress to implement multiple internal databases. I don't have a timeline for shipping this feature yet, but I'll follow up here if I hear anything.