Merge pull request #22 from PrefectureDePolice/master
Add postgis-scripts to postgis install.
This commit is contained in:
commit
0a275d9f28
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM postgres:9.5
|
FROM postgres:9.5
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install -y postgis
|
RUN apt-get install -y postgis postgresql-9.5-postgis-scripts
|
||||||
ADD /setup.sql /docker-entrypoint-initdb.d/
|
ADD /setup.sql /docker-entrypoint-initdb.d/
|
||||||
|
|
|
@ -56,8 +56,8 @@ CREATE TABLE events_deleted (
|
||||||
|
|
||||||
CREATE TABLE geo (
|
CREATE TABLE geo (
|
||||||
geom geometry(Geometry,4326),
|
geom geometry(Geometry,4326),
|
||||||
geom_center geometry(Point,4326),
|
|
||||||
hash text,
|
hash text,
|
||||||
|
geom_center geometry(Point,4326),
|
||||||
idx geometry
|
idx geometry
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue