mirror of
https://github.com/CartoDB/crankshaft.git
synced 2024-11-01 10:20:48 +08:00
Fix instructions to update/install the extension
This commit is contained in:
parent
633b63bccc
commit
cc4a35ebd9
@ -45,8 +45,8 @@ source envs/dev/bin/activate
|
|||||||
|
|
||||||
Update extension in a working database with:
|
Update extension in a working database with:
|
||||||
|
|
||||||
* `ALTER EXTENSION crankshaft VERSION TO 'current';`
|
* `ALTER EXTENSION crankshaft UPDATE TO 'current';`
|
||||||
`ALTER EXTENSION crankshaft VERSION TO 'dev';`
|
`ALTER EXTENSION crankshaft UPDATE TO 'dev';`
|
||||||
|
|
||||||
Note: we keep the current development version install as 'dev' always;
|
Note: we keep the current development version install as 'dev' always;
|
||||||
we update through the 'current' alias to allow changing the extension
|
we update through the 'current' alias to allow changing the extension
|
||||||
@ -58,7 +58,10 @@ should be dropped manually before the update.
|
|||||||
If the extension has not previously been installed in a database,
|
If the extension has not previously been installed in a database,
|
||||||
it can be installed directly with:
|
it can be installed directly with:
|
||||||
|
|
||||||
* `CREATE EXTENSION crankshaft WITH VERSION 'dev';`
|
* `CREATE EXTENSION IF NOT EXISTS plpythonu;`
|
||||||
|
`CREATE EXTENSION IF NOT EXISTS postgis;`
|
||||||
|
`CREATE EXTENSION IF NOT EXISTS cartodb;`
|
||||||
|
`CREATE EXTENSION crankshaft WITH VERSION 'dev';`
|
||||||
|
|
||||||
Note: the development extension uses the development python virtual
|
Note: the development extension uses the development python virtual
|
||||||
environment automatically.
|
environment automatically.
|
||||||
|
Loading…
Reference in New Issue
Block a user