liquid_feedback_core
diff README @ 120:92fc60ed705d
Included update instructions in README file
author | jbe |
---|---|
date | Mon Mar 07 14:15:53 2011 +0100 (2011-03-07) |
parents | e6faf5ff83af |
children | fa394b8a0157 |
line diff
1.1 --- a/README Mon Mar 07 14:10:25 2011 +0100 1.2 +++ b/README Mon Mar 07 14:15:53 2011 +0100 1.3 @@ -26,3 +26,12 @@ 1.4 and drop the database by entering the following command: 1.5 $ dropdb liquid_feedback 1.6 1.7 +Updating is done using the update scripts in the update/ directory. 1.8 +After updating it is recommended to recreate the schema as follows: 1.9 +$ pg_dump --disable-triggers --data-only DATABASE_NAME > tmp.sql 1.10 +$ dropdb DATABASE_NAME 1.11 +$ createdb DATABASE_NAME 1.12 +$ psql -v ON_ERROR_STOP=1 -f core.sql DATABASE_NAME 1.13 +$ psql -v ON_ERROR_STOP=1 -f tmp.sql DATABASE_NAME 1.14 +$ rm tmp.sql 1.15 +