1 package Koha::Schema::Result::ClassSortRule;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base 'DBIx::Class::Core';
14 Koha::Schema::Result::ClassSortRule
18 __PACKAGE__->table("class_sort_rules");
22 =head2 class_sort_rule
25 default_value: (empty string)
31 data_type: 'mediumtext'
37 default_value: (empty string)
43 __PACKAGE__->add_columns(
45 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
47 { data_type => "mediumtext", is_nullable => 1 },
49 { data_type => "varchar", default_value => "", is_nullable => 0, size => 30 },
51 __PACKAGE__->set_primary_key("class_sort_rule");
59 Related object: L<Koha::Schema::Result::ClassSource>
63 __PACKAGE__->has_many(
65 "Koha::Schema::Result::ClassSource",
66 { "foreign.class_sort_rule" => "self.class_sort_rule" },
67 { cascade_copy => 0, cascade_delete => 0 },
71 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
72 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3JLMzBsuge+hUAqcXVtgzQ
75 # You can replace this text with custom content, and it will be preserved on regeneration