postgresql 数据库的特殊处理
This commit is contained in:
@ -13,6 +13,9 @@
|
||||
# postgis 启用 gis 扩展
|
||||
CREATE DATABASE {{ cookiecutter.mvn_artifact_id }} WITH ENCODING = 'utf8';
|
||||
CREATE EXTENSION postgis;
|
||||
|
||||
# 开启 bigint 与 character 自动转换
|
||||
CREATE CAST (character varying AS bigint) WITH INOUT AS IMPLICIT;
|
||||
```
|
||||
|
||||
2. 项目运行
|
||||
|
Reference in New Issue
Block a user