Custom Migrations
What's the recommended way to customize migrations that aren't supported by Prisma Schema directly?
More specifically, if I wanted to add Partial Indexes, Collations, Computed fields, etc..., I recognize we'd likely need to update the generated migration file. That ends up defeating the purpose of Prisma Schema (a snapshot of your DB schema) as there is info not represented.
Are comments the only solution here or is there some (undocumented) way to develop custom annotations that affect the migration?
More specifically, if I wanted to add Partial Indexes, Collations, Computed fields, etc..., I recognize we'd likely need to update the generated migration file. That ends up defeating the purpose of Prisma Schema (a snapshot of your DB schema) as there is info not represented.
Are comments the only solution here or is there some (undocumented) way to develop custom annotations that affect the migration?