2 package Koha
::Schema
::Result
::MarcModificationTemplate
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::MarcModificationTemplate
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<marc_modification_templates>
22 __PACKAGE__
->table("marc_modification_templates");
34 data_type: 'mediumtext'
39 __PACKAGE__
->add_columns(
41 { data_type
=> "integer", is_auto_increment
=> 1, is_nullable
=> 0 },
43 { data_type
=> "mediumtext", is_nullable
=> 0 },
50 =item * L</template_id>
56 __PACKAGE__
->set_primary_key("template_id");
60 =head2 marc_modification_template_actions
64 Related object: L<Koha::Schema::Result::MarcModificationTemplateAction>
68 __PACKAGE__
->has_many(
69 "marc_modification_template_actions",
70 "Koha::Schema::Result::MarcModificationTemplateAction",
71 { "foreign.template_id" => "self.template_id" },
72 { cascade_copy
=> 0, cascade_delete
=> 0 },
76 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54
77 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bu3u1X0RBx4c35kkph05/A
80 # You can replace this text with custom code or comments, and it will be preserved on regeneration