Index: openacs-4/packages/acs-core-docs/www/tutorial-database.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/tutorial-database.adp,v diff -u -r1.4.2.7 -r1.4.2.8 --- openacs-4/packages/acs-core-docs/www/tutorial-database.adp 7 Sep 2021 09:39:39 -0000 1.4.2.7 +++ openacs-4/packages/acs-core-docs/www/tutorial-database.adp 15 Sep 2021 16:11:41 -0000 1.4.2.8 @@ -15,7 +15,7 @@ OpenACS docs are written by the named authors, and may be edited by OpenACS documentation staff.
We create all database objects with scripts in the myfirstpackage/sql/
directory. All database
+Code the data model
We create all database objects with scripts in the myfirstpackage/sql/
directory. All database
scripts are database-specific and are thus in either the
myfirstpackage/sql/oracle
or
myfirstpackage/sql/postgresql
@@ -42,15 +42,15 @@
simplify our database creation. (More information about ACS
Objects. More information about the Content
Repository.)
The top of each SQL file has some standard comments, including
doc tags such as \@author
which
will be picked up by the API browser. The string $Id:$
will automatically be expanded when
the file is checked in to cvs.
[$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.