-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(prisma/migrations): Default value on new column (#465)
- [x] Display a more concise error message for new column that failed the NON NULL constraint during the migration. - [x] Enable user to set default value on new NON NULL column. --------- Signed-off-by: Natoandro <[email protected]> Signed-off-by: Teo Stocco <[email protected]> Co-authored-by: Teo Stocco <[email protected]>
- Loading branch information
Showing
24 changed files
with
427 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
"comment1": "echo cwd is by default the directory of deno.json", | ||
"comment2": "echo cannot restrict ffi to a lib https://github.com/denoland/deno/issues/15511", | ||
"run": "cd .. && deno run --config=typegate/deno.json --unstable --allow-run=hostname --allow-sys --allow-env --allow-hrtime --allow-write=tmp --allow-ffi --allow-read=. --allow-net typegate/src/main.ts", | ||
"test": "cd .. && deno test --trace-ops --config=typegate/deno.json --unstable --allow-run=cargo,hostname,target/debug/meta,git,python3,rm,mkdir --allow-sys --allow-env --allow-hrtime --allow-write=tmp,typegate/tests --allow-ffi --allow-read=. --allow-net" | ||
"test": "cd .. && deno test --trace-ops --config=typegate/deno.json --unstable --allow-run=cargo,hostname,target/debug/meta,git,python3,rm,mkdir,bash --allow-sys --allow-env --allow-hrtime --allow-write=tmp,typegate/tests --allow-ffi --allow-read=. --allow-net" | ||
}, | ||
"nodeModulesDir": false, | ||
"lock": "deno.lock", | ||
|
@@ -36,6 +36,7 @@ | |
"outdent": "https://deno.land/x/[email protected]/mod.ts", | ||
"json-schema-faker": "npm:[email protected]", | ||
"ajv": "https://esm.sh/[email protected]?pin=v131", | ||
"@typegraph/sdk/": "../typegraph/deno/src/" | ||
"@typegraph/sdk/": "../typegraph/deno/src/", | ||
"test-utils/": "./tests/utils/" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/migration.py |
Oops, something went wrong.