drizzle-team / drizzle-team/drizzle-orm

[BUG]: Can't update SQLite database after changing schema

Open
#3,499 0 comments 0 reactions 0 assignees View on GitHub
bug drizzle/kit priority
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### Report hasn't been filed before.

- [X] I have verified that the bug I'm about to report hasn't been filed before.

### What version of `drizzle-orm` are you using?

0.35.1"

### What version of `drizzle-kit` are you using?

0.26.2

### Other packages

_No response_

### Describe the Bug

Hello, I've tried many times updating the database using the schema and then using the migrate and the push command of drizze.
I've previously created the database before (sqlite file) using the generate command.

Furthermore when I try to use these commands I get a awfull console text, almost impossible to read. I've tried many commands (in Windows) to remove these colors characters (such as NO_COLOR) with no success.

Could this be removed in the future? Or improve documentation to explain how to remove it?

And more information on the options to choose and commands to use to update the database?

Thank you in advance,

PS : What I see in terminal when I use the push command :

![image](https://github.com/user-attachments/assets/a466f5d2-873a-42f9-84a1-5806e6db53ea)

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.