Skip to content

Using supported types in Unsupported fields yields unnecessary migrations #5493

Closed

Description

@tomhoule

Reproduction on postgres/mysql.

model Cat {
    id Int @id
   data Unsupported("TEXT")
}

We have to make type diffing specifically aware of this scenario to avoid migrating, in that case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    tech/engines/migration enginetopic: migrate

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions