drizzle-team / drizzle-team/drizzle-orm

Converting from enum to text should migrate gracefully without dataloss

Open
#3,461 0 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.