https://github.com/clburlison/drizzle-mysql-push-bug
https://github.com/clburlison/drizzle-mysql-push-bug
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/clburlison/drizzle-mysql-push-bug
- Owner: clburlison
- Created: 2023-12-19T18:24:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-19T18:25:19.000Z (over 1 year ago)
- Last Synced: 2025-05-13T14:13:55.228Z (26 days ago)
- Language: TypeScript
- Size: 75.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# drizzle-mysql-push-bug
This demo repo is shows a reproducible error when using Drizzle Kit with a composite primary key. The schema was pulled straight from the [docs website](https://orm.drizzle.team/docs/indexes-constraints#composite-primary-key).
To install dependencies:
```bash
bun install
```To run:
- Edit `drizzle.config.ts` > point to a validate database
```bash
bun run db:push
```