drizzle-team / drizzle-team/drizzle-orm
[FEATURE]: add default schema option
- 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
Would be nice to have an option for setting the default schema.
Instead of using mySchema.table just use pgTable
And declare something like this:
Contributor guide
Research direction
Start by reviewing the PostgreSQL table and schema APIs referenced in the issue, especially pgTable and mySchema.table, and compare them with the attached example. Done should mean users can configure a default schema so pgTable uses it while explicit schema-qualified table definitions remain supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, typescript
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100