From 0fe219c7211640c233b67228f8a333e16e9be2ad Mon Sep 17 00:00:00 2001 From: einhverfr Date: Fri, 21 Dec 2007 20:46:04 +0000 Subject: Documentation changes for installation order of scripts. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1999 4979c152-3d1c-0410-bac9-87ea11338e46 --- sql/modules/README | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'sql/modules/README') diff --git a/sql/modules/README b/sql/modules/README index cd89d7b9..4c082a5a 100644 --- a/sql/modules/README +++ b/sql/modules/README @@ -1,3 +1,26 @@ This set of files is just for initial testing and proof of concept purposes. They will be moved out of here into appropriate upgrade scripts as necessary and are intended only for collaborative development purposes. + +For people trying to get 1.3 up and running manually, the following load order +should work. Note that many of these scripts declare types, so if you want to +redefine functions, you will need to drop the types and reload the scripts. + +Account.sql +Business_Type.sql +Location.sql +Company.sql +Customer.sql +Date.sql +Defaults.sql +Employee.sql +Entity.sql +Payment.sql +Person.sql +Report.sql +Voucher.sql + +Note that the Roles.sql is special and must be preprocessed to get it to work. +A command like: +sed -e 's//[dbname]/g' Roles.sql > [dbname]_roles.sql would work +where [dbname] represents the name of the database you are installing into. -- cgit v1.2.3