Bug 8480: DBRev 3.19.00.042
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
bf23224c99
commit
a0482e4172
2
Koha.pm
2
Koha.pm
|
|
@ -29,7 +29,7 @@ use vars qw{ $VERSION };
|
|||
# - #4 : the developer version. The 4th number is the database subversion.
|
||||
# used by developers when the database changes. updatedatabase take care of the changes itself
|
||||
# and is automatically called by Auth.pm when needed.
|
||||
$VERSION = "3.19.00.041";
|
||||
$VERSION = "3.19.00.042";
|
||||
|
||||
sub version {
|
||||
return $VERSION;
|
||||
|
|
|
|||
|
|
@ -10425,7 +10425,7 @@ if ( CheckVersion($DBversion) ) {
|
|||
SetVersion ($DBversion);
|
||||
}
|
||||
|
||||
$DBversion = "3.19.00.XXX";
|
||||
$DBversion = "3.19.00.042";
|
||||
if ( CheckVersion($DBversion) ) {
|
||||
$dbh->do(q{
|
||||
DELETE ass.*
|
||||
|
|
@ -10435,8 +10435,10 @@ if ( CheckVersion($DBversion) ) {
|
|||
});
|
||||
|
||||
$dbh->do(q{
|
||||
ALTER TABLE auth_subfield_structure
|
||||
ADD CONSTRAINT auth_subfield_structure_ibfk_1 FOREIGN KEY (authtypecode) REFERENCES auth_types(authtypecode) ON DELETE CASCADE ON UPDATE CASCADE
|
||||
ALTER IGNORE TABLE auth_subfield_structure
|
||||
ADD CONSTRAINT auth_subfield_structure_ibfk_1
|
||||
FOREIGN KEY (authtypecode) REFERENCES auth_types(authtypecode)
|
||||
ON DELETE CASCADE ON UPDATE CASCADE
|
||||
});
|
||||
|
||||
print "Upgrade to $DBversion done (Bug 8480: Add foreign key on auth_subfield_structure.authtypecode)\n";
|
||||
|
|
|
|||
Loading…
Reference in New Issue