DB Revision 087

This commit is contained in:
Joshua Ferraro 2008-05-30 11:17:21 -05:00
parent 5888636416
commit 89915ffb34
2 changed files with 9 additions and 1 deletions

View file

@ -1603,6 +1603,14 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
SetVersion ($DBversion);
}
$DBversion = "3.00.00.087";
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
$dbh->do("INSERT INTO `systempreferences` VALUES ('AutoEmailOpacUser','0','','Sends notification emails containing new account details to patrons - when account is created.','YesNo')" );
$dbh->do("INSERT INTO `systempreferences` VALUES ('AutoEmailPrimaryAddress','OFF','email|emailpro|B_email|cardnumber|OFF','Defines the default email address where \'Account Details\' emails are sent.','Choice')");
print "Upgrade to $DBversion done (added 2 new 'AutoEmailOpacUser' sysprefs)\n";
SetVersion ($DBversion);
}
=item DropAllForeignKeys($table)
Drop all foreign keys of the table $table

View file

@ -10,7 +10,7 @@
use strict;
sub kohaversion {
our $VERSION = "3.00.00.086";
our $VERSION = "3.00.00.087";
# version needs to be set this way
# so that it can be picked up by Makefile.PL
# during install