Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native Types support in Prisma migrate #4330

Closed
thebiglabasky opened this issue Nov 23, 2020 · 1 comment
Closed

Native Types support in Prisma migrate #4330

thebiglabasky opened this issue Nov 23, 2020 · 1 comment
Labels
domain/schema Issue in the "Schema" domain: Prisma Schema, Introspection, Migrations etc. kind/feature A request for a new feature. topic: migrate topic: native database types

Comments

@thebiglabasky
Copy link

Problem

The new Native Types notation is missing a way to use migrate so that users can define the native type from the Prisma schema and propagate the change down to the database level. This should be made possible in the context of the new migrate planned to be released in Preview later this year.

Suggested solution

Ensure that running prisma migrate with a schema defining specific native types does generate a migration using the corresponding database types.

@thebiglabasky thebiglabasky added kind/feature A request for a new feature. topic: migrate domain/schema Issue in the "Schema" domain: Prisma Schema, Introspection, Migrations etc. domain/client Issue in the "Client" domain: Prisma Client, Prisma Studio etc. topic: native database types labels Nov 23, 2020
@albertoperdomo albertoperdomo removed the domain/client Issue in the "Client" domain: Prisma Client, Prisma Studio etc. label Feb 3, 2021
@albertoperdomo
Copy link
Contributor

Prisma Migrate supports native types (in Preview) since 2.15.0. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain/schema Issue in the "Schema" domain: Prisma Schema, Introspection, Migrations etc. kind/feature A request for a new feature. topic: migrate topic: native database types
Projects
None yet
Development

No branches or pull requests

2 participants