Update CONTRIBUTING.md

This commit is contained in:
Rafa de la Torre 2015-08-18 14:56:23 +02:00
parent 5d22464036
commit 520024ecb0

View File

@ -49,12 +49,16 @@ also installs migration scripts to go from "V" to "V"next and from "V"next
to "V". Example to upgrade a 0.2.0dev version: to "V". Example to upgrade a 0.2.0dev version:
```sql ```sql
ALTER EXTENSION cartodb UPDATE TO '0.2.0devnext'; ALTER EXTENSION cartodb UPDATE TO '0.2.0next';
ALTER EXTENSION cartodb UPDATE TO '0.2.0dev'; ALTER EXTENSION cartodb UPDATE TO '0.2.0dev';
``` ```
Starting with 0.2.0, the in-place reload can be done with an ad-hoc function: Starting with 0.2.0, the in-place reload can be done with an ad-hoc function:
```sql ```sql
SELECT cartodb.cdb_extension_reload(); SELECT cartodb.cdb_extension_reload();
``` ```
A useful query:
```sql
postgres=# SELECT * FROM pg_extension_update_paths('cartodb') WHERE path IS NOT NULL;
```