Does anyone know how Prisma handles the 63 charact...
# random
g
Does anyone know how Prisma handles the 63 character limit in PostgreSQL table names? I've been pushing to use it, but we have long names on our main database.
j
Possibly/probably not at all - let me know if/when you figure it out and create an issue if it fails in some way.
👍 1
g
Thanks! I'll be sure to give it a try at some point. We just found Sequelize's
minifyAliases
option, which seems like it wouldn't make debugging a hassle while still supporting our ridiculous column names.
j
Yep, something around that would be the workaround or solution.
Generally Prisma allows you to have a different name in the database than in the Prisma Client API via
@map
- so you can probably achieve a lot already. The question is if a default, new Introspection takes care of that properly.
💯 1