Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prisma/db-push-non-idempotent-schemas
Collection of schemas that don't roundtrip if you db pull, then db push
https://github.com/prisma/db-push-non-idempotent-schemas
Last synced: about 2 months ago
JSON representation
Collection of schemas that don't roundtrip if you db pull, then db push
- Host: GitHub
- URL: https://github.com/prisma/db-push-non-idempotent-schemas
- Owner: prisma
- Created: 2021-12-15T10:53:39.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-14T10:28:21.000Z (almost 3 years ago)
- Last Synced: 2023-04-09T18:45:56.627Z (over 1 year ago)
- Language: Nix
- Size: 9.77 KB
- Stars: 2
- Watchers: 22
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
For each schema:
- Run `prisma db push`
- Run `prisma db pull`
- There should be a diff in the schema.## Utility for verifying the URLs in the challenge spec.json
```bash
jq -r '.schemas | .[] | .url' schemas.json | xargs --max-lines=1 curl --no-progress-meter -o /dev/null -w '%{http_code}\n'
```