drizzle-team / drizzle-team/drizzle-orm
[FEATURE]: Drizzle Studio support for multiple DB
- Dominant language
- TypeScript
- Stars
- 35.8k
- Forks
- 1.6k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 4
Description
### Feature hasn't been suggested before.
- [x] I have verified this feature I'm about to request hasn't been suggested before.
### Describe the enhancement you want to request
Hi,
I have a monorepo with more than one database. I am using drizzle studio to visualize the local db - just doing `npx drizzle-kit studio --config=...`.
This works fine, but there are two things that would make it better:
1. If there was a simple way of starting a docker container with this. It can then run in the background & ensure that the https://local.drizzle.studio url is always up and reachable, even if I am running other commands at the moment.
- I can probably write a small docker container that does this myself, but would be cool if there was a prepackaged way
2. If you have two databases, then it gets complicated, because you don't know which database the https://local.drizzle.studio url is pointing to. It would be nice if we could somehow configure this. The easiest way is probably having a different path for each database (`https://local.drizzle.studio/db1` vs `https://local.drizzle.studio/db2`) and the man https://local.drizzle.studio is showing all the possible dbs to connect to.
Let me know what you think!
Contributor guide
Assessment
This issue has not been assessed yet.