drizzle-team / drizzle-team/drizzle-orm

[BUG]: Migration sub-folders does not work with Cloudflare D1

Open
#5,589 2 comments 6 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### Report hasn't been filed before.

- [x] I have verified that the bug I'm about to report hasn't been filed before.

### What version of `drizzle-orm` are you using?

1.0.0-beta.20

### What version of `drizzle-kit` are you using?

1.0.0-beta.20

### Other packages

_No response_

### Describe the Bug

In 1.0.0-beta.20 there is a change in the way migrations are created moves the sql file into subfolders. Unfortunately this breaks drizzle-kit compatibility with Cloudflare D1 which expects all SQL files to be in a single folder.

Perhaps when driver d1-http is enabled the output folder structure should be different.

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.