Project

General

Profile

« Previous | Next » 

Revision 13789

/Makefile: mk_db: added PostGIS so it can be used by our functions

View differences:

Makefile
273 273
ENCODING 'UTF8' LC_COLLATE 'en_US.UTF-8' LC_CTYPE 'en_US.UTF-8';"|$(psqlAsAdmin)
274 274
	-echo "CREATE EXTENSION hstore SCHEMA pg_catalog;"|$(psqlAsAdminVegbien)
275 275
	-$(asAdmin) createlang -U postgres plpython3u vegbien
276
	-echo 'CREATE SCHEMA postgis;'|$(psqlAsAdminVegbien)
277
	-echo 'CREATE EXTENSION postgis SCHEMA postgis;'\
278
|$(psqlAsAdminVegbien)
276 279
	# unset ON_ERROR_STOP so user-exists errors don't prevent further user-adds
277 280
	-cat config/users.sql|$(psqlAsAdmin) --set ON_ERROR_STOP
278 281
# ignore errors if user/database/etc. exists

Also available in: Unified diff