[Koha-bugs] [Bug 15207] Error on upgrade from 3.20.5 to 3.22 beta
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Nov 20 19:26:24 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15207
--- Comment #17 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
This is my 'before' course_reserves table copied from the mysqldump:
DROP TABLE IF EXISTS `course_reserves`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `course_reserves` (
`cr_id` int(11) NOT NULL AUTO_INCREMENT,
`course_id` int(11) NOT NULL,
`ci_id` int(11) NOT NULL,
`staff_note` mediumtext COLLATE utf8_unicode_ci,
`public_note` mediumtext COLLATE utf8_unicode_ci,
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE
CURRENT_TIMESTAMP,
PRIMARY KEY (`cr_id`),
UNIQUE KEY `pseudo_key` (`course_id`,`ci_id`),
KEY `course_id` (`course_id`),
KEY `course_reserves_ibfk_2` (`ci_id`),
CONSTRAINT `course_reserves_ibfk_1` FOREIGN KEY (`course_id`) REFERENCES
`courses` (`course_id`),
CONSTRAINT `course_reserves_ibfk_2` FOREIGN KEY (`ci_id`) REFERENCES
`course_items` (`ci_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list