drizzle-kit
0.31.11 · 21 Sep 2026MIT42.7M / weekRepositoryHomepagenpmAtom feed
Upgrading drizzle-kit From 0.24.2 to 0.25.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 3
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.25.0
- Breaking0.25.0
Release by release
- Breaking
This version of drizzle-orm will only work with
@libsql/client@0.10.0or higher if you are using themigratefunction. For other use cases, you can continue using previous versions(But the suggestion is to upgrade) To install the latest version, use the command: - Breaking
Previously, we had a common
drizzle.configfor SQLite and Turso users, which allowed a shared strategy for both dialects. Starting with this release, we are introducing the turso dialect in drizzle-kit. We will evolve and improve Turso as a separate dialect with its own migration strategies. - New
Set and Drop Default Values: Add or remove default values for existing columns.
- New
Set and Drop NOT NULL: Add or remove the NOT NULL constraint on existing columns.
- New
Add References to Existing Columns: Add foreign key references to existing columns
- Breaking
7 other lines we could not sort, mostly version bumps
- 0.25.0
Change Data Type: Set a new data type for existing columns.
- 0.25.0
Dropping foreign key will cause table recreation.
- 0.25.0
If the table has indexes, altering columns will cause index recreation: Drizzle-Kit will drop the indexes, modify the columns, and then create the indexes.
- 0.25.0
Adding or dropping composite foreign keys is not supported and will cause table recreation.
- 0.25.0
Primary key columns can not be altered and will cause table recreation.
- 0.25.0
Altering columns that are part of foreign key will cause table recreation.
- 0.25.0
You can create a reference on any column type, but if you want to insert values, the referenced column must have a unique index or primary key.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.