Skip to content

Add Firebird support#5611

Draft
AdrianoHebreu wants to merge 1 commit intodrizzle-team:mainfrom
AdrianoHebreu:codex-firebird-support
Draft

Add Firebird support#5611
AdrianoHebreu wants to merge 1 commit intodrizzle-team:mainfrom
AdrianoHebreu:codex-firebird-support

Conversation

@AdrianoHebreu
Copy link
Copy Markdown

Summary

  • Add Firebird ORM support through firebird-core and the node-firebird driver.
  • Add Drizzle Kit Firebird support for config validation, generate, migrate, pull, push, check, and the Studio backend proxy.
  • Add Docker-backed Firebird tests for the ORM runtime and Drizzle Kit.

Notes

  • The Studio backend currently uses a compatibility shim for the hosted local.drizzle.studio frontend by exposing Firebird through SQLite-shaped metadata/proxy responses.
  • BLOB reads are covered, including multiple BLOB columns, but BLOB columns in RETURNING are guarded because of node-firebird driver limitations.
  • time with time zone and timestamp with time zone still need deeper validation with node-firebird.

Tests

  • pnpm --dir drizzle-orm exec tsc -p tsconfig.build.json --noEmit
  • pnpm --dir drizzle-kit tsc
  • pnpm --dir drizzle-kit exec vitest run tests/firebird/firebird-kit.test.ts
  • pnpm --dir integration-tests test:firebird
  • pnpm --dir drizzle-orm build
  • pnpm --dir drizzle-kit build
  • pnpm --dir drizzle-orm test -- tests/exports.test.ts
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant