[Koha-bugs] [Bug 12558] New: DBIx::Class schema update 07/2014
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jul 11 15:10:47 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12558
Bug ID: 12558
Summary: DBIx::Class schema update 07/2014
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: gmcharlt at gmail.com
Reporter: tomascohen at gmail.com
QA Contact: testopia at bugs.koha-community.org
As Yohann stated, there have been several changes in the DB structure since
last update of the Koha::Schema::Result::* classes.
Recent DBIC::Schema::Loader (v0.07039) generates better code as Galen expressed
in his post to koha-devel:
"When I was RM for 3.16, I was using DBIC::Schema::Loader version
v0.07025. Yesterday Tomas and I did some checking of classes
generated using v0.07039. Among other changes, the newer versions now
recognize "set null" as a FK action and default to "restrict" rather
than "cascade" if the action is not explicitly specified."
"Those are both good changes, so I recommend that we require at least
version v0.07039 of DBIC::Schema::Loader. Since that module is /not/
required for production use -- it's only needed for development --
requiring a hire version should not affect packaging signficantly."
So we are:
- Updating the DBIx::Class schema
- Shifting DBIC::Schema::Loader version requirement to v0.07039
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list