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

(-)a/installer/data/mysql/kohastructure.sql (+11 lines)
Lines 1303-1308 CREATE TABLE `matchchecks` ( Link Here
1303
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1303
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1304
1304
1305
--
1305
--
1306
-- Table structure for table `need_merge_authorities`
1307
--
1308
1309
DROP TABLE IF EXISTS `need_merge_authorities`;
1310
CREATE TABLE `need_merge_authorities` (
1311
  `id` int NOT NULL auto_increment PRIMARY KEY,
1312
  `authid` bigint NOT NULL,
1313
  `done` tinyint DEFAULT 0
1314
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1315
1316
--
1306
-- Table structure for table `notifys`
1317
-- Table structure for table `notifys`
1307
--
1318
--
1308
1319
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +7 lines)
Lines 4370-4375 if (C4::Context->preference("Version") < TransformToNum($DBversion)) { Link Here
4370
    SetVersion($DBversion);
4370
    SetVersion($DBversion);
4371
}
4371
}
4372
4372
4373
$DBversion = "3.05.00.XXX"; #RM: Please remove 1 from if and uncomment SetVersion too!!
4374
if (1||C4::Context->preference("Version") < TransformToNum($DBversion)) {
4375
    $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");
4376
    print "Upgrade to $DBversion done (6094: Fixing ModAuthority problems)\n";
4377
    #SetVersion($DBversion);
4378
}
4379
4373
=head1 FUNCTIONS
4380
=head1 FUNCTIONS
4374
4381
4375
=head2 DropAllForeignKeys($table)
4382
=head2 DropAllForeignKeys($table)
4376
- 

Return to bug 6094