In Liferay you can easily modify DB column size.
Here is the example for Column with type String.
By default if we use type as a string in service.xml then size will be 75.
By doing few changes inside portlet-model-hints.xml. This configuration file is available inside src/META-INF directory. To increase column size do something like this.
If max-length is less-then 4000 then column type will be Varchar.
If max-length is equal to 4000 then column type will be STRING. If max-length is greater then 4000 then column type will be TEXT.
By doing few changes inside portlet-model-hints.xml. This configuration file is available inside src/META-INF directory. To increase column size do something like this.
If max-length is less-then 4000 then column type will be Varchar.
If max-length is equal to 4000 then column type will be STRING. If max-length is greater then 4000 then column type will be TEXT.