Hello again! :wave::skin-tone-2: I have one more q...
# prisma-migrate
a
Hello again! 👋🏻 I have one more question, I’m trying to introduce Prisma Migrate to an existing project. I’m using nativeTypes, and there is something strange happening every time I run
prisma migrate dev --preview-feature
(even when there’s no changes). In the .sql files there are a bunch of ALTER TABLE statements modifying every TINYINT to the same thing that they already are in the database. And it’s being generated every time, looks completely the same. This is an example:
Copy code
ALTER TABLE `category` MODIFY `active` TINYINT NOT NULL DEFAULT true;
I was looking out for issues, and found this: https://github.com/prisma/prisma-engines/issues/1257. I’m not sure if that’s the same issue, if not I can open a new one 🙂 Thanks!
t
Hi! The native type supports in migrate was just released last week, and still at an early stage. We spotted these non-idempotent migration issues, this is being worked on and it will be fixed in the next release (probably today in
@prisma/cli@dev
)
a
Aweeesome, thank you for the response! 🙏🏻