drizzle-team / drizzle-team/drizzle-orm

`.DS_Store` in migrations/meta breaks everything

Open
#3,439 2 comments 1 reaction 0 assignees View on GitHub
drizzle/kit enhancement
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

This one took me a while to figure out, but if there is a `.DS_Store` file in your meta directory, you can't run migrations anymore since it considers that file in the snapshots and can't parse it.

We should be filtering out files that start with `.` or look for that file specifically, or only be looking for JSON files.

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.