drizzle-team / drizzle-team/drizzle-orm
[FEATURE]: Reset all serial fields when truncating table with Drizzle Studio
Open
drizzle/studio
enhancement
- 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
When I use the truncate feature, it correctly deletes all entries, but it doesn't reset the current values for serial fields. This means that when I add more entries, it continues incrementing from where it left off. It would be nice if the confirmation pop-up had a checkbox/toggle for resetting all of the serial fields too.
Contributor guide
Assessment
This issue has not been assessed yet.