如果Heroku Postgres不允许使用blob,我应该使用什么来存储二进制数据?
2012-05-30T05:59:36+00:00 app[web.1]: [debug] c.j.b.StatementHandle - create table image_info ( 2012-05-30T05:59:36+00:00 app[web.1]: id bigint not null,2012-05-30T05:59:36+00:00 app[web.1]: image_id varchar(255),2012-05-30T05:59:36+00:00 app[web.1]: subject_id varchar(255),2012-05-30T05:59:36+00:00 app[web.1]: web_thumbnail blob,2012-05-30T05:59:36+00:00 app[web.1]: created_date timestamp,2012-05-30T05:59:36+00:00 app[web.1]: image blob,2012-05-30T05:59:36+00:00 app[web.1]: thumbnail blob,2012-05-30T05:59:36+00:00 app[web.1]: constraint pk_image_info primary key (id)) 2012-05-30T05:59:36+00:00 app[web.1]: [debug] c.j.b.PreparedStatementHandle - update play_evolutions set last_problem = 'ERROR: type "blob" does not exist 2012-05-30T05:59:36+00:00 app[web.1]: Position: 176 [ERROR:0,sqlSTATE:42704]' where id = 1
解决方法
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。