drizzle-team / drizzle-team/drizzle-orm

[FEATURE]: Support `CREATE EXTENSION`

Open
#2,124 4 comments 18 reactions 0 assignees View on GitHub
db/postgres drizzle/kit enhancement
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### Describe what you want

Hi, I want to use PostGIS but I cant find any way to add `CREATE EXTENSION IF NOT EXISTS postgis;` to the migrations files automatically. The ideal solution would be to somehow add support for `CREATE EXTENSION`, and include the generated tables to the schema.

Related to: https://github.com/drizzle-team/drizzle-orm/issues/671 and https://github.com/drizzle-team/drizzle-orm/issues/1315

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.