postgresql - Symfony3.4:Postgis,学说模式错误
问题描述
我正在使用 Postgresql 和 Postgis 运行一个应用程序,它运行良好,因为我使用的是 postgresql-9.6 和 postgis-2.3,但是在我升级到 postgresql-10 和 postgis-2.4 后,我在尝试使用该学说创建架构时出错命令:
在 AbstractPostgreSQLDriver.php 第 76 行:
SQLSTATE[42703]: Undefined column: 7 ERROR: column "min_value" does not exist
LINE 1: SELECT min_value, increment_by FROM "meas_id_seq"
在 PDOConnection.php 第 106 行:
SQLSTATE[42703]: Undefined column: 7 ERROR: column "min_value" does not exist
LINE 1: SELECT min_value, increment_by FROM "meas_id_seq"
在 PDOConnection.php 第 104 行:
SQLSTATE[42703]: Undefined column: 7 ERROR: column "min_value" does not exist
LINE 1: SELECT min_value, increment_by FROM "meas_id_seq"
解决方案
我正在使用 Symfony 捆绑包https://github.com/jsor/doctrine-postgis。Wich 与最新版本的 PostGIS 不兼容。
推荐阅读
- react-native - 如何创建反应原生布局
- python - 索引超出范围时如何跳过索引[Python]
- vue.js - Vue-apollo 不填充数据对象
- python - 动态设置 Plotly Dash dcc.dropdown 值
- sql - OR 子句返回不正确的结果 SQL Developer
- java - RxJava 将两个响应分组,其中一个响应可能是 NULL 与 zip 运算符
- android-studio-3.0 - 错误与android studio中的依赖冲突
- google-sheets - 条件和连续列
- android - 警报管理器不会在flyme os(魅族)上发出任何警报
- python - 模型更改反映在管理页面中,但没有反映在 django 表单模板中,为什么?