An open API service indexing awesome lists of open source software.

https://github.com/clburlison/drizzle-mysql-push-bug


https://github.com/clburlison/drizzle-mysql-push-bug

Last synced: 25 days ago
JSON representation

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
```