mysql - should I use text or longtext for table column? -


whats difference? text() enough?

i found abuot this: $table->longtext('description');

and made me wonder if text alone enough content can of lenght, lets blog post, 1 use?

each type manage different max length

varchar(m), varbinary(m) 255 bytes, or more 255 bytes

tinyblob, tinytext l l < 2^8

blob, text l < 2^16

mediumblob, mediumtext l < 2^24

longblob, longtext l < 2^32

https://dev.mysql.com/doc/refman/5.7/en/string-type-overview.html


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -