I created a bean under play 2.0 and evolutions would create a 1.sql DDL for me.
This is the entity contains blob type:
@Entity
@Table(name="image_info")
public class ImageInfo extends Model {
.......
@Constraints.Required
private Blob image;
.......
}
It create this DDL.
create table image_info (
id bigint not null,
image blob)
It worked locally for H2 db, however, not on Heroku Postgres. How could I automate the evolutions to create separate DDLs?