https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40529

--- Comment #57 from Jonathan Druart <[email protected]> ---
(In reply to Pedro Amorim from comment #56)
> Joubu, can you please help? I must be missing something here but can't find
> it, this also shows ERROR - DB structures are not identical:
> 
> perl /kohadevbox/misc4dev/run_tests.pl --instance=kohadev
> --db-password=password --run-db-compare-only --compare-with=HEAD
> 
> See the message on last commit please.

> -- Table structure for table `hold_group_target_holds`
> --
> 
> DROP TABLE IF EXISTS `hold_group_target_holds`;
> /*!40101 SET @saved_cs_client     = @@character_set_client */;
> /*!40101 SET character_set_client = utf8mb4 */;
> CREATE TABLE `hold_group_target_holds` (
>   `hold_group_id` int(10) unsigned NOT NULL COMMENT 'foreign key, linking 
> this to the hold_groups table',
>   `reserve_id` int(11) NOT NULL COMMENT 'foreign key, linking this to the 
> reserves table',
>   PRIMARY KEY (`hold_group_id`,`reserve_id`),
>   UNIQUE KEY `uq_hold_group_target_holds_hold_group_id` (`hold_group_id`),
>   UNIQUE KEY `uq_hold_group_target_holds_reserve_id` (`reserve_id`),
>   CONSTRAINT `hold_group_target_holds_ibfk_1` FOREIGN KEY (`hold_group_id`) 
> REFERENCES `hold_groups` (`hold_group_id`) ON DELETE CASCADE,
>   CONSTRAINT `hold_group_target_holds_ibfk_2` FOREIGN KEY (`reserve_id`) 
> REFERENCES `reserves` (`reserve_id`) ON DELETE CASCADE
> ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
> /*!40101 SET character_set_client = @saved_cs_client */;
> 
> --
5094,5110d5111
< ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
< /*!40101 SET character_set_client = @saved_cs_client */;
< 
< --
< -- Table structure for table `hold_group_target_holds`
< --
< DROP TABLE IF EXISTS `hold_group_target_holds`;
< /*!40101 SET @saved_cs_client     = @@character_set_client */;
< /*!40101 SET character_set_client = utf8mb4 */;
< CREATE TABLE `hold_group_target_holds` (
<     `hold_group_id` int(10) unsigned NOT NULL COMMENT 'foreign key, linking
this to the hold_groups table',
<     `reserve_id` int(11) NOT NULL COMMENT 'foreign key, linking this to the
reserves table',
<     PRIMARY KEY (`hold_group_id`,`reserve_id`),
<     UNIQUE KEY `uq_hold_group_target_holds_hold_group_id` (`hold_group_id`),
<     UNIQUE KEY `uq_hold_group_target_holds_reserve_id` (`reserve_id`),
<     CONSTRAINT `hold_group_target_holds_ibfk_1` FOREIGN KEY (`hold_group_id`)
REFERENCES `hold_groups` (`hold_group_id`) ON DELETE CASCADE,
<     CONSTRAINT `hold_group_target_holds_ibfk_2` FOREIGN KEY (`reserve_id`)
REFERENCES `reserves` (`reserve_id`) ON DELETE CASCADE
ERROR - DB structures are not identical

This is the diff I get.

The table def is not at the correct place in kohastructure.sql, they are sorted
alphabetically.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to