Index: openacs-4/packages/acs-core-docs/www/tutorial-upgrade-scripts.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/tutorial-upgrade-scripts.html,v diff -u -r1.11.2.1 -r1.11.2.2 --- openacs-4/packages/acs-core-docs/www/tutorial-upgrade-scripts.html 2 Mar 2019 19:30:06 -0000 1.11.2.1 +++ openacs-4/packages/acs-core-docs/www/tutorial-upgrade-scripts.html 3 Sep 2021 09:15:35 -0000 1.11.2.2 @@ -3,8 +3,7 @@ OpenACS docs are written by the named authors, and may be edited by OpenACS documentation staff.

If your package changes its data model, you have to write an - upgrade script. This is very easy in OpenACS.

First, you want to make sure you change the original .sql - file so that new installation will have the new data model.

Next, check what version your package is currently at. For + upgrade script. This is very easy in OpenACS.

First, you want to make sure you change the original .sql file so that new installation will have the new data model.

Next, check what version your package is currently at. For example, it may be at version 1.0b1. Create a file in yourpackage/sql/postgres/upgrade called packagename-1.0b1-1.0b2.sql and put the SQL code that will update the data model. For example, if you