Prisma db migration always altering my table contains mysql TIME data type inside of it #9769
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/schema
Issue for team Schema.
tech/engines
Issue for tech Engines.
topic: dates / DateTime
topic: @db.Time
Native type `Time`
topic: endless migrations
topic: migrate
topic: mysql
Milestone
Bug description
Prisma DB migration file generator always altering my table contains Mysql TIME data type inside of it.
How to reproduce
I have a schema.prisma that one of my table contains MySQL TIME
[Problem] Every time I edit my schema.prisma and generate a migration file, the generated file always altering my table which contains Mysql TIME, like:
Expected behavior
No response
Prisma information
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: