ServiceStack.OrmLite: StringLengthAttribute.MaxText produces “LONGTEXT” - how can I set to “TEXT”?
问题 Using ServiceStack's OrmLite and decorating a Property with the following attribute, creates a column of type LONGTEXT, instead o TEXT as noted in the docs: But it becomes LONGTEXT: I tried setting the StringLenghtAttribute to something else, 65535 , 70000 , Int32.MaxValue etc, but it either interpretet it as a VARCHAR and gave me the Column length too big or Row size too large , or it became a LONGTEXT. Question is: how can I force it to become "TEXT" (or any other text type in mysql)? I