drizzle-kit@0.24.2
drizzle-team/drizzle-ormdrizzle-kit@0.24.2Aug 26, 2024by github-actions[bot]
AI Summary
This minor release adds support for the pglite driver, allowing users to use pglite with all drizzle-kit commands including Drizzle Studio. It also includes a bug fix for mysql-kit related to GENERATED ALWAYS AS columns with NOT NULL constraints.
Key Highlights
- Added pglite driver support for all drizzle-kit commands including Drizzle Studio
- Bug fix for mysql-kit: GENERATED ALWAYS AS ... NOT NULL issue fixed
- pglite can now be used with local SQLite database files (local-pg.db)
New Features
- pglite driver support with full drizzle-kit integration
Full Release Notes
## New Features
### 🎉 Support for `pglite` driver
You can now use pglite with all drizzle-kit commands, including Drizzle Studio!
```ts
import { defineConfig } from "drizzle-kit";
export default defineConfig({
dialect: "postgresql",
driver: "pglite",
schema: "./schema.ts",
dbCredentials: {
url: "local-pg.db",
},
verbose: true,
strict: true,
});
```
## Bug fixes
- mysql-kit: fix GENERATED ALWAYS AS ... NOT NULL - [#2824](https://github.com/drizzle-team/drizzle-orm/pull/2824)