Canner / WrenAI

Wren AI makes your database RAG-ready. Implement Text-to-SQL more accurately and securely.
https://getwren.ai
GNU Affero General Public License v3.0
1.32k stars 102 forks source link

Switch Between Databases - Retain Saved Relationships #317

Open andre-scheinwald opened 1 month ago

andre-scheinwald commented 1 month ago

Please describe. After setting up a connection to a database, selecting tables, defining relationships - It would be nice to be able to set up a connection to a database on a different server while retaining the settings of the other database. Basically allow a user to switch back and forth between what database they are querying. Without having to redo the setup process each time.

Describe alternatives you've considered I haven't really thought this through. Aside from maybe trying to create different saved instances of wrenai using the docker image.

wwwy3y3 commented 1 month ago

@andre-scheinwald thanks for the feature request! We'll discuss internally about the possibility of switching databases.

qdrddr commented 1 month ago

I would expand this into be able to have different versions of DB and then switch from the "old" version to the most recently new version preserving preserving old connections (if the required connected fields still exists).

So the idea is to: