ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "geometry_columns" does not exist

背景 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();

原文地址:https://www.cnblogs.com/chenzhenzhen/p/5323538.html