ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "geometry_columns" does not exist
2016-03-26 17:23
429 查看
背景 postgresql 与postgis
ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "geometry_columns" does not exist
确认是否自己在开发项目下数据库已扩展postgre
$sudo -u postgres psql
$\l
$\c dbname
$ SELECT postgis_full_version();
ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "geometry_columns" does not exist
确认是否自己在开发项目下数据库已扩展postgre
$sudo -u postgres psql
$\l
$\c dbname
$ SELECT postgis_full_version();
相关文章推荐
- mysql 源码安装
- Linux下实现秒级定时任务的两种方案(crontab 每秒运行)
- 【bzoj2816】【ZJOI2012】【网络】【lct】
- HDU1052
- Fragment类
- 15电气郄慧敏vb作业3红糖水白糖水的交换
- iOSDay16之OC集合遍历和数组排序
- 单例模式实现延迟加载在多线程下的思考(双检锁和内部类)
- java io 流解析
- <RP>网页设计中的默认字体:{font: 12px/1.5 Tahoma, Helvetica, Arial, sans-serif;}
- 匿名内部类
- 简单的爬行--静态网页爬虫+下一篇实例
- redis授权
- BZOJ3081Strange Regulations
- 向form中添加组件元素
- serialVersionUID
- 获取Android系统正在运行的线程
- 类的继承(构造器)
- JavaWeb项目开发案例精粹-第4章博客网站系统-006View层
- 一维数组求最大子数组的和(首位相邻32位)