Index: openacs-4/packages/acs-core-docs/www/tutorial-database.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/tutorial-database.html,v diff -u -r1.46 -r1.47 --- openacs-4/packages/acs-core-docs/www/tutorial-database.html 8 Nov 2017 09:42:12 -0000 1.46 +++ openacs-4/packages/acs-core-docs/www/tutorial-database.html 25 Apr 2018 08:38:28 -0000 1.47 @@ -6,7 +6,7 @@

by Joel Aufrecht

</authorblurb> -

Code the data model

+

Code the data model

We create all database objects with scripts in the myfirstpackage/sql/ directory. All @@ -44,7 +44,7 @@ information about ACS Objects. More information about the Content Repository.)

-

Figure 9.2. Tutorial Data Model

+

Figure 9.2. Tutorial Data Model

Tutorial Data Model

@@ -57,7 +57,7 @@
[$OPENACS_SERVICE_NAME ~]$ cd /var/lib/aolserver/$OPENACS_SERVICE_NAME/packages/myfirstpackage/sql/postgresql
 [$OPENACS_SERVICE_NAME postgresql]$ emacs myfirstpackage-create.sql

Paste the text below into the file, save, and close.

-

Figure 9.3. The Database Creation Script

+

Figure 9.3. The Database Creation Script

-- creation script
 --
@@ -88,7 +88,7 @@
       

Create a database file to drop everything if the package is uninstalled.

 [$OPENACS_SERVICE_NAME postgresql]$ emacs myfirstpackage-drop.sql
-

Figure 9.4. Database Deletion Script

+

Figure 9.4. Database Deletion Script

-- drop script
 --