drizzle-team / drizzle-team/drizzle-orm
Converting from enum to text should migrate gracefully without dataloss
Open
drizzle/kit
improvement
- Dominant language
- TypeScript
- Stars
- 35.8k
- Forks
- 1.6k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 4
Description
When changing a column from pgEnum to text, I get the following warning about data loss:
```
Warning Found data-loss statements:
· You're about to change someColumn column type from SomeColumn to text with 1 items
```
This should be able to migrate without data loss
Contributor guide
Assessment
This issue has not been assessed yet.