View | Details | Raw Unified | Return to bug 6094
Collapse All | Expand All

(-)a/installer/data/mysql/kohastructure.sql (+11 lines)
Lines 1311-1316 CREATE TABLE `matchchecks` ( Link Here
1311
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1311
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1312
1312
1313
--
1313
--
1314
-- Table structure for table `need_merge_authorities`
1315
--
1316
1317
DROP TABLE IF EXISTS `need_merge_authorities`;
1318
CREATE TABLE `need_merge_authorities` (
1319
  `id` int NOT NULL auto_increment PRIMARY KEY,
1320
  `authid` bigint NOT NULL,
1321
  `done` tinyint DEFAULT 0
1322
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1323
1324
--
1314
-- Table structure for table `notifys`
1325
-- Table structure for table `notifys`
1315
--
1326
--
1316
1327
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +6 lines)
Lines 4523-4528 if (C4::Context->preference("Version") < TransformToNum($DBversion)) { Link Here
4523
    SetVersion($DBversion);
4523
    SetVersion($DBversion);
4524
}
4524
}
4525
4525
4526
$DBversion = "3.05.00.XXX"; #RM: Please remove 1 from if and uncomment SetVersion too!!
4527
if (1||C4::Context->preference("Version") < TransformToNum($DBversion)) {
4528
    $dbh->do("CREATE TABLE need_merge_authorities (id int NOT NULL auto_increment PRIMARY KEY, authid bigint NOT NULL, done tinyint DEFAULT 0) ENGINE=InnoDB DEFAULT CHARSET=utf8");
4529
    print "Upgrade to $DBversion done (6094: Fixing ModAuthority problems, add a need_merge_authorities table)\n";
4530
    #SetVersion($DBversion);
4531
}
4526
4532
4527
=head1 FUNCTIONS
4533
=head1 FUNCTIONS
4528
4534
4529
- 

Return to bug 6094