[Koha-bugs] [Bug 8309] Koha namespace organisation, first implementation
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jun 25 15:04:59 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8309
--- Comment #1 from Paul Poulain <paul.poulain at biblibre.com> ---
Created attachment 10473
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10473&action=edit
DBIx::Class 1st step: the schema
This DBIx::Class schema has been generated using
perl -MDBIx::Class::Schema::Loader=make_schema_at,dump_to_dir:.Koha -e
'make_schema_at("temp::Schema", { debug => 1 }, [
"dbi:mysql:dbname=Koha","LOGIN", "PASSWORD" ])'
After my 1st tests, I encountered the following problem
DBIx::Class::Carp::__ANON__(): "might_have/has_one" must not be on columns with
is_nullable set to true (temp::Schema::Result::Borrower/cardnumber). This might
indicate an incorrect use of those relationship helpers instead of belongs_to.
at /usr/share/perl5/DBIx/Class/Relationship/HasOne.pm line 96
by setting cardnumber to non-nullable
I've switched the cardnumber to non-nullable in Borrower.pm
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list