Bug 12558: DBIx::Class schema update 07/2014
Update DBIx::Class schema classes to use a newer version of DBIx::Class:Schema::Loader. Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> Signed-off-by: Yohann Dufour <dufour.yohann@gmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
8476a39399
commit
8295b3e08f
|
|
@ -208,14 +208,14 @@ __PACKAGE__->belongs_to(
|
|||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_update => "CASCADE",
|
||||
on_delete => "SET NULL",
|
||||
on_update => "SET NULL",
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VLEuOBmnS+xgk7LXAqxtLw
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jUiCeLLPg5228rNEBW0w2g
|
||||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
|
|
|||
|
|
@ -203,7 +203,7 @@ __PACKAGE__->belongs_to(
|
|||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_delete => "RESTRICT",
|
||||
on_update => "CASCADE",
|
||||
},
|
||||
);
|
||||
|
|
@ -220,7 +220,7 @@ __PACKAGE__->belongs_to(
|
|||
"booksellerid",
|
||||
"Koha::Schema::Result::Aqbookseller",
|
||||
{ id => "booksellerid" },
|
||||
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
|
||||
{ is_deferrable => 1, on_delete => "RESTRICT", on_update => "CASCADE" },
|
||||
);
|
||||
|
||||
=head2 branch
|
||||
|
|
@ -238,7 +238,7 @@ __PACKAGE__->belongs_to(
|
|||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_delete => "SET NULL",
|
||||
on_update => "CASCADE",
|
||||
},
|
||||
);
|
||||
|
|
@ -258,8 +258,8 @@ __PACKAGE__->belongs_to(
|
|||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_update => "CASCADE",
|
||||
on_delete => "RESTRICT",
|
||||
on_update => "RESTRICT",
|
||||
},
|
||||
);
|
||||
|
||||
|
|
@ -274,8 +274,8 @@ Composing rels: L</aqbasketusers> -> borrowernumber
|
|||
__PACKAGE__->many_to_many("borrowernumbers", "aqbasketusers", "borrowernumber");
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-31 16:31:18
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TCssMGPEqtE0MZ5INCufoA
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pT+YFf9nfD/dmBuE4RNCFw
|
||||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
|
|
|||
|
|
@ -150,14 +150,14 @@ __PACKAGE__->belongs_to(
|
|||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_delete => "SET NULL",
|
||||
on_update => "CASCADE",
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nV0lYm2w4xX8cwVmTVF3YQ
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3se4f767VfvBKaZ8tlXwHQ
|
||||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
|
|
|||
|
|
@ -421,7 +421,7 @@ __PACKAGE__->belongs_to(
|
|||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_delete => "SET NULL",
|
||||
on_update => "CASCADE",
|
||||
},
|
||||
);
|
||||
|
|
@ -441,7 +441,7 @@ __PACKAGE__->belongs_to(
|
|||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_delete => "SET NULL",
|
||||
on_update => "CASCADE",
|
||||
},
|
||||
);
|
||||
|
|
@ -467,8 +467,8 @@ __PACKAGE__->belongs_to(
|
|||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2014-04-19 15:25:43
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:XGQHKw2/pml/kFe89vbvXw
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:u5KHnXS5hMmqpqufIEkPig
|
||||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ __PACKAGE__->belongs_to(
|
|||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_delete => "SET NULL",
|
||||
on_update => "CASCADE",
|
||||
},
|
||||
);
|
||||
|
|
@ -121,14 +121,14 @@ __PACKAGE__->belongs_to(
|
|||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_delete => "SET NULL",
|
||||
on_update => "CASCADE",
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1WX3cQyoYmNmPed+OqdUNA
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Z6+vESlzZKjZloNvrEHpxA
|
||||
|
||||
|
||||
# You can replace this text with custom code or comments, and it will be preserved on regeneration
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ __PACKAGE__->belongs_to(
|
|||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_update => "CASCADE",
|
||||
on_update => "RESTRICT",
|
||||
},
|
||||
);
|
||||
|
||||
|
|
@ -83,13 +83,13 @@ __PACKAGE__->belongs_to(
|
|||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_update => "CASCADE",
|
||||
on_update => "RESTRICT",
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:k6hCbzMVZ1VRsubvdrZMYQ
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FlVw5Eu4bXF2ygD0QkwwCg
|
||||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
|
|
|||
|
|
@ -708,7 +708,7 @@ __PACKAGE__->belongs_to(
|
|||
"branchcode",
|
||||
"Koha::Schema::Result::Branch",
|
||||
{ branchcode => "branchcode" },
|
||||
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
|
||||
{ is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" },
|
||||
);
|
||||
|
||||
=head2 categorycode
|
||||
|
|
@ -723,7 +723,7 @@ __PACKAGE__->belongs_to(
|
|||
"categorycode",
|
||||
"Koha::Schema::Result::Category",
|
||||
{ categorycode => "categorycode" },
|
||||
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
|
||||
{ is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" },
|
||||
);
|
||||
|
||||
=head2 course_instructors
|
||||
|
|
@ -1072,8 +1072,8 @@ Composing rels: L</course_instructors> -> course
|
|||
__PACKAGE__->many_to_many("courses", "course_instructors", "course");
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-31 16:31:19
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:z4kW3xYX1CyrwvGdZu32nA
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5cfpOojccKCoVRMj+0mWHg
|
||||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ __PACKAGE__->belongs_to(
|
|||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_update => "CASCADE",
|
||||
on_update => "RESTRICT",
|
||||
},
|
||||
);
|
||||
|
||||
|
|
@ -84,13 +84,13 @@ __PACKAGE__->belongs_to(
|
|||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_update => "CASCADE",
|
||||
on_update => "RESTRICT",
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/ppDBtfKZvUNcERWFbLuuw
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MA/VDd/K/RTgZ9TLy0K1gw
|
||||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ __PACKAGE__->belongs_to(
|
|||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_update => "CASCADE",
|
||||
on_update => "RESTRICT",
|
||||
},
|
||||
);
|
||||
|
||||
|
|
@ -84,13 +84,13 @@ __PACKAGE__->belongs_to(
|
|||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_update => "CASCADE",
|
||||
on_update => "RESTRICT",
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9fXKFDUQsOx+uqF+slRhSw
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5NpXKN72zzNcHauiDZfdEA
|
||||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
|
|
|||
|
|
@ -94,12 +94,12 @@ __PACKAGE__->belongs_to(
|
|||
"class_sort_rule",
|
||||
"Koha::Schema::Result::ClassSortRule",
|
||||
{ class_sort_rule => "class_sort_rule" },
|
||||
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
|
||||
{ is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" },
|
||||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OPkfouKUejU6oCgy58yt6Q
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2O58Q7wdbfAl6xmiW02PAA
|
||||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
|
|
|||
|
|
@ -0,0 +1,77 @@
|
|||
use utf8;
|
||||
package Koha::Schema::Result::CollectionsTracking;
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader
|
||||
# DO NOT MODIFY THE FIRST PART OF THIS FILE
|
||||
|
||||
=head1 NAME
|
||||
|
||||
Koha::Schema::Result::CollectionsTracking
|
||||
|
||||
=cut
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
use base 'DBIx::Class::Core';
|
||||
|
||||
=head1 TABLE: C<collections_tracking>
|
||||
|
||||
=cut
|
||||
|
||||
__PACKAGE__->table("collections_tracking");
|
||||
|
||||
=head1 ACCESSORS
|
||||
|
||||
=head2 collections_tracking_id
|
||||
|
||||
data_type: 'integer'
|
||||
is_auto_increment: 1
|
||||
is_nullable: 0
|
||||
|
||||
=head2 colid
|
||||
|
||||
data_type: 'integer'
|
||||
default_value: 0
|
||||
is_nullable: 0
|
||||
|
||||
collections.colId
|
||||
|
||||
=head2 itemnumber
|
||||
|
||||
data_type: 'integer'
|
||||
default_value: 0
|
||||
is_nullable: 0
|
||||
|
||||
items.itemnumber
|
||||
|
||||
=cut
|
||||
|
||||
__PACKAGE__->add_columns(
|
||||
"collections_tracking_id",
|
||||
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
|
||||
"colid",
|
||||
{ data_type => "integer", default_value => 0, is_nullable => 0 },
|
||||
"itemnumber",
|
||||
{ data_type => "integer", default_value => 0, is_nullable => 0 },
|
||||
);
|
||||
|
||||
=head1 PRIMARY KEY
|
||||
|
||||
=over 4
|
||||
|
||||
=item * L</collections_tracking_id>
|
||||
|
||||
=back
|
||||
|
||||
=cut
|
||||
|
||||
__PACKAGE__->set_primary_key("collections_tracking_id");
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:aV5bgiXNrskXo+q+WLuwPg
|
||||
|
||||
|
||||
# You can replace this text with custom code or comments, and it will be preserved on regeneration
|
||||
1;
|
||||
|
|
@ -87,12 +87,12 @@ __PACKAGE__->belongs_to(
|
|||
"course",
|
||||
"Koha::Schema::Result::Course",
|
||||
{ course_id => "course_id" },
|
||||
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
|
||||
{ is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" },
|
||||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dIemqF/uRWLNN4IMCHZxRA
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7vP3bJ0YA6LEepYOaNg++A
|
||||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
|
|
|||
|
|
@ -121,12 +121,12 @@ __PACKAGE__->belongs_to(
|
|||
"course",
|
||||
"Koha::Schema::Result::Course",
|
||||
{ course_id => "course_id" },
|
||||
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
|
||||
{ is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" },
|
||||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9KuuUyFReuw+PAlLW84yXQ
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SSTJhsNOuUlxr/CsDs08pQ
|
||||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
|
|
|||
|
|
@ -150,7 +150,7 @@ __PACKAGE__->belongs_to(
|
|||
"branch_code",
|
||||
"Koha::Schema::Result::Branch",
|
||||
{ branchcode => "branch_code" },
|
||||
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
|
||||
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "RESTRICT" },
|
||||
);
|
||||
|
||||
=head2 item_number
|
||||
|
|
@ -169,13 +169,13 @@ __PACKAGE__->belongs_to(
|
|||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_update => "CASCADE",
|
||||
on_update => "RESTRICT",
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:w5Nfrm8a8ajsC0bLBACaWg
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:x9PaYKzfg8jT6zFP4IwhBA
|
||||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
|
|
|||
|
|
@ -254,24 +254,24 @@ __PACKAGE__->has_many(
|
|||
{ cascade_copy => 0, cascade_delete => 0 },
|
||||
);
|
||||
|
||||
=head2 import_records_matches
|
||||
=head2 import_record_matches
|
||||
|
||||
Type: has_many
|
||||
|
||||
Related object: L<Koha::Schema::Result::ImportRecordMatches>
|
||||
Related object: L<Koha::Schema::Result::ImportRecordMatch>
|
||||
|
||||
=cut
|
||||
|
||||
__PACKAGE__->has_many(
|
||||
"import_records_matches",
|
||||
"Koha::Schema::Result::ImportRecordMatches",
|
||||
"import_record_matches",
|
||||
"Koha::Schema::Result::ImportRecordMatch",
|
||||
{ "foreign.import_record_id" => "self.import_record_id" },
|
||||
{ cascade_copy => 0, cascade_delete => 0 },
|
||||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:e71umJ0QmfPBvlxmzbClng
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jhzXlqw5mA1lGsI9SZEv/Q
|
||||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
|
|
|||
|
|
@ -0,0 +1,77 @@
|
|||
use utf8;
|
||||
package Koha::Schema::Result::ImportRecordMatch;
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader
|
||||
# DO NOT MODIFY THE FIRST PART OF THIS FILE
|
||||
|
||||
=head1 NAME
|
||||
|
||||
Koha::Schema::Result::ImportRecordMatch
|
||||
|
||||
=cut
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
use base 'DBIx::Class::Core';
|
||||
|
||||
=head1 TABLE: C<import_record_matches>
|
||||
|
||||
=cut
|
||||
|
||||
__PACKAGE__->table("import_record_matches");
|
||||
|
||||
=head1 ACCESSORS
|
||||
|
||||
=head2 import_record_id
|
||||
|
||||
data_type: 'integer'
|
||||
is_foreign_key: 1
|
||||
is_nullable: 0
|
||||
|
||||
=head2 candidate_match_id
|
||||
|
||||
data_type: 'integer'
|
||||
is_nullable: 0
|
||||
|
||||
=head2 score
|
||||
|
||||
data_type: 'integer'
|
||||
default_value: 0
|
||||
is_nullable: 0
|
||||
|
||||
=cut
|
||||
|
||||
__PACKAGE__->add_columns(
|
||||
"import_record_id",
|
||||
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
|
||||
"candidate_match_id",
|
||||
{ data_type => "integer", is_nullable => 0 },
|
||||
"score",
|
||||
{ data_type => "integer", default_value => 0, is_nullable => 0 },
|
||||
);
|
||||
|
||||
=head1 RELATIONS
|
||||
|
||||
=head2 import_record
|
||||
|
||||
Type: belongs_to
|
||||
|
||||
Related object: L<Koha::Schema::Result::ImportRecord>
|
||||
|
||||
=cut
|
||||
|
||||
__PACKAGE__->belongs_to(
|
||||
"import_record",
|
||||
"Koha::Schema::Result::ImportRecord",
|
||||
{ import_record_id => "import_record_id" },
|
||||
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
|
||||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hJW36EeP+H8+0/Ij3iuIFw
|
||||
|
||||
|
||||
# You can replace this text with custom code or comments, and it will be preserved on regeneration
|
||||
1;
|
||||
|
|
@ -154,7 +154,7 @@ __PACKAGE__->belongs_to(
|
|||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_delete => "RESTRICT",
|
||||
on_update => "CASCADE",
|
||||
},
|
||||
);
|
||||
|
|
@ -174,14 +174,14 @@ __PACKAGE__->belongs_to(
|
|||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_delete => "RESTRICT",
|
||||
on_update => "CASCADE",
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZEh31EKBmURMKxDxI+H3EA
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2SJJ3az4Ml9hKEQvNH3+Kw
|
||||
|
||||
__PACKAGE__->belongs_to(
|
||||
"borrower",
|
||||
|
|
|
|||
|
|
@ -508,7 +508,7 @@ __PACKAGE__->belongs_to(
|
|||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_delete => "RESTRICT",
|
||||
on_update => "CASCADE",
|
||||
},
|
||||
);
|
||||
|
|
@ -528,7 +528,7 @@ __PACKAGE__->belongs_to(
|
|||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_delete => "RESTRICT",
|
||||
on_update => "CASCADE",
|
||||
},
|
||||
);
|
||||
|
|
@ -609,8 +609,8 @@ __PACKAGE__->might_have(
|
|||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-12-19 06:29:02
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:h6fPG62SifJ5T8QKPZNBBw
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Rc89LTrsDtt8Y6yXVUdhMA
|
||||
|
||||
__PACKAGE__->belongs_to(
|
||||
"biblio",
|
||||
|
|
|
|||
|
|
@ -165,12 +165,12 @@ __PACKAGE__->belongs_to(
|
|||
"message_transport_type",
|
||||
"Koha::Schema::Result::MessageTransportType",
|
||||
{ message_transport_type => "message_transport_type" },
|
||||
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
|
||||
{ is_deferrable => 1, on_delete => "RESTRICT", on_update => "CASCADE" },
|
||||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+gmGYPCtwCYKHAzfd9xByQ
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YWxM2O2W/h34qqIOIpzOtw
|
||||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
|
|
|||
|
|
@ -154,8 +154,8 @@ __PACKAGE__->belongs_to(
|
|||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_update => "CASCADE",
|
||||
on_delete => "SET NULL",
|
||||
on_update => "SET NULL",
|
||||
},
|
||||
);
|
||||
|
||||
|
|
@ -174,14 +174,14 @@ __PACKAGE__->belongs_to(
|
|||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_update => "CASCADE",
|
||||
on_delete => "SET NULL",
|
||||
on_update => "SET NULL",
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uPOxNROoMMRZ0qZsXsxEjA
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sgsDHihVYHrTycbaqoGbaQ
|
||||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
|
|
|||
|
|
@ -215,8 +215,8 @@ __PACKAGE__->belongs_to(
|
|||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_update => "CASCADE",
|
||||
on_delete => "SET NULL",
|
||||
on_update => "SET NULL",
|
||||
},
|
||||
);
|
||||
|
||||
|
|
@ -235,8 +235,8 @@ __PACKAGE__->belongs_to(
|
|||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_update => "CASCADE",
|
||||
on_delete => "SET NULL",
|
||||
on_update => "SET NULL",
|
||||
},
|
||||
);
|
||||
|
||||
|
|
@ -255,14 +255,14 @@ __PACKAGE__->belongs_to(
|
|||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_update => "CASCADE",
|
||||
on_delete => "SET NULL",
|
||||
on_update => "SET NULL",
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:g/WiYGPOyzJGtMWiAHvIxA
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CMfQmK2sJxQB0FBb0X12ug
|
||||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
|
|
|||
|
|
@ -127,14 +127,14 @@ __PACKAGE__->belongs_to(
|
|||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_delete => "SET NULL",
|
||||
on_update => "CASCADE",
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/gg7wEkOzJ7yI3UXoDcQKA
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:u+R08bCdVQA697aPo9zEUA
|
||||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
|
|
|||
|
|
@ -388,7 +388,7 @@ __PACKAGE__->belongs_to(
|
|||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_delete => "SET NULL",
|
||||
on_update => "CASCADE",
|
||||
},
|
||||
);
|
||||
|
|
@ -408,7 +408,7 @@ __PACKAGE__->belongs_to(
|
|||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_delete => "SET NULL",
|
||||
on_update => "CASCADE",
|
||||
},
|
||||
);
|
||||
|
|
@ -429,8 +429,8 @@ __PACKAGE__->has_many(
|
|||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-30 02:42:01
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JoTdms86n/xfPo8YUnDHUQ
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:57kc1/B3eNKQXAk9tlOy0A
|
||||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
|
|
|||
|
|
@ -117,8 +117,8 @@ __PACKAGE__->belongs_to(
|
|||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_update => "CASCADE",
|
||||
on_delete => "SET NULL",
|
||||
on_update => "SET NULL",
|
||||
},
|
||||
);
|
||||
|
||||
|
|
@ -138,8 +138,8 @@ __PACKAGE__->belongs_to(
|
|||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nhcu0n7BoSNsoY76SYSYFw
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ie3Gx+/HthZQ/4fHjcPF0w
|
||||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
|
|
|||
|
|
@ -101,8 +101,8 @@ __PACKAGE__->belongs_to(
|
|||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_update => "CASCADE",
|
||||
on_delete => "SET NULL",
|
||||
on_update => "SET NULL",
|
||||
},
|
||||
);
|
||||
|
||||
|
|
@ -122,8 +122,8 @@ __PACKAGE__->belongs_to(
|
|||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Eu/4NPwsXI+UMs5QWVsUmA
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gle9hUqefRoNSilv0gFc1w
|
||||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
|
|
|||
|
|
@ -135,8 +135,8 @@ __PACKAGE__->belongs_to(
|
|||
{
|
||||
is_deferrable => 1,
|
||||
join_type => "LEFT",
|
||||
on_delete => "CASCADE",
|
||||
on_update => "CASCADE",
|
||||
on_delete => "SET NULL",
|
||||
on_update => "SET NULL",
|
||||
},
|
||||
);
|
||||
|
||||
|
|
@ -171,8 +171,8 @@ __PACKAGE__->has_many(
|
|||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WdBpWgSdrE0l13vKgDRcGg
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xRDCzpS+CXPdp4Mlp2WP6A
|
||||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ __PACKAGE__->table("z3950servers");
|
|||
|
||||
data_type: 'enum'
|
||||
default_value: 'primary'
|
||||
extra: {list => ["primary","secondary"]}
|
||||
extra: {list => ["primary","secondary",""]}
|
||||
is_nullable: 0
|
||||
|
||||
=head2 type
|
||||
|
|
@ -152,7 +152,7 @@ __PACKAGE__->add_columns(
|
|||
{
|
||||
data_type => "enum",
|
||||
default_value => "primary",
|
||||
extra => { list => ["primary", "secondary"] },
|
||||
extra => { list => ["primary", "secondary", ""] },
|
||||
is_nullable => 0,
|
||||
},
|
||||
"type",
|
||||
|
|
@ -188,8 +188,8 @@ __PACKAGE__->add_columns(
|
|||
__PACKAGE__->set_primary_key("id");
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:j/AgGQDMyR5wm1wooSYYDw
|
||||
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BA+II2AVWOTLfgbko1GAOA
|
||||
|
||||
|
||||
# You can replace this text with custom content, and it will be preserved on regeneration
|
||||
|
|
|
|||
Loading…
Reference in New Issue