0
我創建了一個播放2.0下的bean,並且evolutions會爲我創建一個1.sql DDL。播放2個演變應用blob和bytea進行測試和製作
這是實體包含BLOB類型:
@Entity
@Table(name="image_info")
public class ImageInfo extends Model {
.......
@Constraints.Required
private Blob image;
.......
}
它創建此DDL。
create table image_info (
id bigint not null,
image blob)
它在H2 db本地工作,但不是在Heroku Postgres上。我怎麼能自動化演變來創建單獨的DDL?