Was experiencing issues populating the social_proof column of the cookies table because the string I was attempting to store exceeded the "width" of the column:
This diff just increases the size to ensure that the message fits.
Depends on D6134
Differential D6135
[keyserver] Increase `social_proof` column of `cookies` table from `varchar(255)` to `varchar(4096)` atul on Dec 31 2022, 4:58 AM. Authored by Tags None Referenced Files
Subscribers None
Details Was experiencing issues populating the social_proof column of the cookies table because the string I was attempting to store exceeded the "width" of the column: This diff just increases the size to ensure that the message fits. Depends on D6134
Diff Detail
Event TimelineComment Actions Accepting to unblock but I think this is too large for a VARCHAR column and you should use TEXT. Please either address before landing, or link a Linear task to address it before landing
Comment Actions 255 is the limit for VARCHAR to be one-byte length header + DATA. 65,532 is the limit for VARCHAR to be two-byte length header + DATA. That said, there's no issue using TEXT instead. I'll update this diff. I just saw that DEFAULT CHARSET=latin1;, wasn't sure what exactly that meant or the implications were, and went with VARCHAR because it seemed simpler? |