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

Lucas Gass (lukeg) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Passed QA                   |Failed QA

--- Comment #78 from Lucas Gass (lukeg) <[email protected]> ---
If I push this as is we will break Koha_Main_MariaDB_update. kohastructure.sql
must match the DB structure:


Schema dump completed.
Running [sudo koha-shell kohadev -p -c 'git diff && git diff --quiet || { echo
"ERROR - There is a diff in DBIC schema files" && exit 1; }']...
Running [sudo koha-dump --schema-only kohadev]...
Dumping Koha site kohadev:
* schema to /var/spool/koha/kohadev/kohadev-schema-2025-10-24.sql
Running [sed -n '/-- Table structure/,/-- Dump completed/{//!p;}'
/var/spool/koha/kohadev/kohadev-schema-$(date '+%Y-%m-%d').sql >
/tmp/upgraded_db.sql]...
Running [sed -n '/-- Table structure/,/-- Dump completed/{//!p;}'
installer/data/mysql/kohastructure.sql > /tmp/current_db.sql]...
Running [diff /tmp/current_db.sql /tmp/upgraded_db.sql && diff -q
/tmp/current_db.sql /tmp/upgraded_db.sql || { echo "ERROR - DB structures are
not identical" && exit 1; }]...
3537a3538
>   PRIMARY KEY (`hold_group_id`),
3539,3540c3540
<   CONSTRAINT `hold_groups_ibfk_1` FOREIGN KEY (`borrowernumber`) REFERENCES
`borrowers` (`borrowernumber`) ON DELETE CASCADE,
<   PRIMARY KEY (`hold_group_id`)
---
>   CONSTRAINT `hold_groups_ibfk_1` FOREIGN KEY (`borrowernumber`) REFERENCES 
> `borrowers` (`borrowernumber`) ON DELETE CASCADE
ERROR - DB structures are not identical


Can you look Pedro?

-- 
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