Forum OpenACS Q&A: Response to Change template1 in PG for new datamodel

Posted by David Walker on
Template1 is copied to each new database you create. If you modify Template1 you interfere with your ability to create a new blank database.

Later versions (7.2 I think) add a template0 that is a bare empty database and also add the ability to define different databases as templates. So you could install the basic OpenACS data model into a database called something like "OpenACS_Template" and create a new openacs db with a command similar to "create database my_openacs_site with template='OpenACS_Template'"