我有一个名为 Postgres 的数据库db_1和一个模式s1
(使用 PgAdmin)
- 然后我安装了
postgis和postgis_topology.
CREATE EXTENSION IF NOT EXISTS postgis;
CREATE EXTENSION IF NOT EXISTS postgis_topology;
在 下s1,我可以看到 18 种类型,包括geography, geometry...等
search_path然后我更新参数s1, s2, public然后我创建了另一个模式
s2,但这次s2没有type在 Spring 上运行我的 flyway sql,
Caused by: org.postgresql.util.PSQLException: ERROR: type "geography" does not exist