I'm using spring boot and jpa and I have an existing table with attribute as VARCHAR 255:
@Column(name = "description")
private String description;
I tried to change it to longtext with no success:
@Column(name = "description", columnDefinition = "longtext")
private String description;
My configuration in the application.properties file regarding Hibernate ddl is set to update:
spring.jpa.hibernate.ddl-auto = update
Is it possible to change VARCAR 255 to longtext? if it does, How do I do it?
Thanks, Avi