13 Commits

Author SHA1 Message Date
Andrew McMillan
8f28e17cb5 Move the non-option database parameter to the end of the
psql command line for FreeBSD compatibility.  Also mktemp
syntax is different on FreeBSD.
2008-07-12 23:11:30 +12:00
Andrew McMillan
b782aa2da3 Also apply the rrule functions to the database. 2008-06-19 22:51:40 +12:00
Andrew McMillan
61f6a82d55 Correct syntax. 2008-04-13 01:01:02 +12:00
Andrew McMillan
c9568f6a40 Allow this utility to change the owner of the tables. 2008-04-13 00:16:05 +12:00
Andrew McMillan
f6fc388818 Add configuration file to database updating. 2008-01-26 00:23:16 +13:00
Andrew McMillan
4d5f010a08 Add options to not apply any patches. 2008-01-25 08:00:47 +13:00
Andrew McMillan
4fbb683af5 Move the appuser permission grants out of the database definition
so we can support alternative names for the application DB user.
2008-01-24 23:26:42 +13:00
Andrew McMillan
186734fea9 Remove unnecessary newline. 2007-12-04 12:16:17 +13:00
Andrew McMillan
c2115a22d8 Minimise output on patch failure where alternatives exist. 2007-12-04 08:46:47 +13:00
Andrew McMillan
91f1d2324c Enhance the database patch script to allow for alternative patches. 2007-12-03 22:28:44 +13:00
Andrew McMillan
d609d6bfeb Ensure that a perl is not connected when we apply a patch. 2007-05-28 15:53:14 +12:00
Andrew McMillan
61b8f90b5d Fix thinko. 2006-11-15 17:51:12 +13:00
Andrew McMillan
6c88d46447 A much improved script for applying database changes. 2006-10-31 11:39:37 +13:00