drizzle-kit@0.31.1

drizzle-team/drizzle-ormdrizzle-kit@0.31.1May 3, 2025by github-actions[bot]

AI Summary

This release fixes bugs in drizzle-kit pull when using Gel extensions, which create schema names containing `::` (such as `ext::auth`). Users can now properly pull schemas from Gel databases by enabling extension schemas in their drizzle.config.ts using the schemaFilter option.

Key Highlights

  • Fixed drizzle-kit pull bugs when using Gel extensions
  • Resolved issues with schema names containing `::` (e.g., ext::auth)
  • Added support for filtering Gel extension schemas via schemaFilter in drizzle.config.ts
  • Users can now pull schemas from Gel databases without errors

New Features

  • Support for Gel extension schemas in drizzle-kit pull command
  • schemaFilter configuration option for Gel dialect to include extension schemas

Full Release Notes

### Fixed `drizzle-kit pull` bugs when using Gel extensions.

Because Gel extensions create schema names containing `::` (for example, `ext::auth`), Drizzle previously handled these names incorrectly. Starting with this release, you can use Gel extensions without any problems. Here’s what you should do:

1. Enable extensions schemas in `drizzle.config.ts`

```ts
import  { defineConfig } from "drizzle-kit";

export default defineConfig({
  dialect: 'gel',
  schemaFilter: ['ext::auth', 'public']
});
```

2. Run `drizzle-kit pull`

3. Done!