Well, this next one is certainly no AppSync (serio...
# madewithprisma
i
Well, this next one is certainly no AppSync (seriously, wow!) but here’s a helpful migration tool if you’re coming from maybe a monolithic database with
snake_case
naming conventions… or worse, no naming conventions 😳 https://www.npmjs.com/package/prisma-case-format
Copy code
model house_rating {
  id       Int    @id @default(autoincrement())
  house_id String
  house    house  @relation(fields: [house_id], references: [id])
  ...
}
👉 becomes
Copy code
model HouseRatings {
  id       Int    @id @default(autoincrement())
  houseId  String @map("house_id")
  house    House  @relation(fields: [houseId], references: [id])

  @@map("house_ratings")
}
for every model!
💯 9