Matthias Oertel

Results 16 issues of Matthias Oertel

Migrate status still returns a 0 exit code even though a clearly defined error is returned (P1000 failed to connect to db in my case). We should change the code...

topic: cli
tech/typescript
kind/tech
team/schema
topic: breaking change

We are already offering Code Actions to ease the renaming of schema entities. eg. Renaming a Model from `Post` to `PrivatePost` will change it in the relations it is used...

kind/feature
domain/schema
topic: rename

We already detect when the Prisma type is incompatible with the specified native type. e.g. on Postgres `string_column String @db.BigInt` would show a validation error. A quick fix to convert...

kind/feature
tech/engines/datamodel
topic: native types
team/schema
topic: quick fix

Hey, thanks for the library. When I was using it I saw that a lot of time was spent in the trim method and stumbled over the comment about making...

While fixing a relation filter bug I had to look at way too many of our generated SQL statements. I think there is potential for optimization / cleanup. We should...

kind/improvement
tech/engines/query engine
topic: performance

Concrete example: having @id and @unique on the same field is unnecessary, but on most dbs still valid. We could warn users about this. But we should maybe also think...

kind/improvement
team/schema

Make sure that we introspect default values that end up in dbgenerated in a way that results in valid AND equivalent DDL when using the datamodel with migrate. MySql example...

kind/improvement
team/schema

Example from the MySql renderer ``` let default_str = column .default() .filter(|default| { !matches!(default.kind(), DefaultKind::Sequence(_)) // We do not want to render JSON defaults because they are not supported by...

kind/improvement
team/schema

Here we introduced a transaction around DDL operations in order to abort invalid enum migrations. https://github.com/prisma/prisma-engines/pull/1016 When the transaction fails without an explicit rollback being submitted next, the following statement...