Skip to main content

Prisma troubleshooting

· One min read

Read replica

Data sources

  • In the schema.prisma file, there can only be one datasource column.
  • In case the data source changes, the migration.lock file must be deleted and the migration process must be run again.

Polymorphism

  • Support for Polymorphic Associations #1644 It seems there is no current plan to support this.
  • Polymorphic relationships are necessary in normalization but it de-normalizes by adding information to the column.