WIP: github actions ci: install postgis to ckan_test database

This commit is contained in:
Taro Matsuzawa 2021-01-06 15:57:02 +09:00
parent db9ed4aaae
commit 078c18411b
1 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ jobs:
mv test-github-actions.ini subdir mv test-github-actions.ini subdir
# setup spatial table # setup spatial table
psql --host=ckan-postgres --username=ckan -d ckan_test --command="CREATE EXTENSION postgis;"
psql --host=ckan-postgres --username=ckan -d ckan_test --command="ALTER VIEW geometry_columns OWNER TO ckan_default;" psql --host=ckan-postgres --username=ckan -d ckan_test --command="ALTER VIEW geometry_columns OWNER TO ckan_default;"
psql --host=ckan-postgres --username=ckan -d ckan_test --command="ALTER TABLE spatial_ref_sys OWNER TO ckan_default;" psql --host=ckan-postgres --username=ckan -d ckan_test --command="ALTER TABLE spatial_ref_sys OWNER TO ckan_default;"