Merge branch 'patch-2' of https://github.com/johnjohndoe/ckanext-spatial into johnjohndoe-patch-2

This commit is contained in:
amercader 2014-04-28 18:38:39 +01:00
commit e655b7152d
1 changed files with 10 additions and 0 deletions

View File

@ -39,6 +39,16 @@ All commands assume an existing CKAN database named ``ckan_default``.
#. Change the owner to spatial tables to the CKAN user to avoid errors later
on::
Open the Postgres console::
$ sudo -u postgres psql
Connect to the ``ckan_default`` database::
postgres=# \c ckan_default
Change the ownership for two spatial tables::
ALTER TABLE spatial_ref_sys OWNER TO ckan_default;
ALTER TABLE geometry_columns OWNER TO ckan_default;