Richard Dunlap
08/10/2021, 6:41 PMnpx prisma migrate dev
, I get an error:
Database error code: 1118
Database error:
Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead,
check the manual. You have to change some columns to TEXT or BLOBs
Please check the query number 235 from the migration file.
I'm not sure why this would be in issue since the schema was generated from prisma's introspection command.
Even worse. I don't know how to find query number 235
since they aren't numbered in the migration's .sql
file. Can anyone point me in the right direction?
ThanksJoël
235
Unfortunately it’s the only info that we can give here you will need to count manually in the migration.sql file to find it.
Maybe counting the ;
character could help here because each statement finish with it.
About the error, are you using MySQL (which version?)Ryan
08/12/2021, 1:36 PMRichard Dunlap
08/12/2021, 1:56 PMRichard Dunlap
08/12/2021, 2:10 PMutf8
to fit constraintsRichard Dunlap
08/12/2021, 2:10 PM