1 package Koha::Schema::Result::Serial;
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::Serial
18 __PACKAGE__->table("serial");
31 default_value: (empty string)
38 default_value: (empty string)
45 default_value: (empty string)
87 __PACKAGE__->add_columns(
89 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
91 { data_type => "varchar", default_value => "", is_nullable => 0, size => 100 },
93 { data_type => "varchar", default_value => "", is_nullable => 0, size => 100 },
95 { data_type => "varchar", default_value => "", is_nullable => 0, size => 100 },
97 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
99 { data_type => "date", is_nullable => 1 },
101 { data_type => "text", is_nullable => 1 },
103 { data_type => "date", is_nullable => 1 },
105 { data_type => "text", is_nullable => 1 },
107 { data_type => "date", is_nullable => 1 },
109 { data_type => "text", is_nullable => 1 },
111 __PACKAGE__->set_primary_key("serialid");
119 Related object: L<Koha::Schema::Result::Serialitem>
123 __PACKAGE__->has_many(
125 "Koha::Schema::Result::Serialitem",
126 { "foreign.serialid" => "self.serialid" },
127 { cascade_copy => 0, cascade_delete => 0 },
131 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
132 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PqzibMlED9bg0uOONSBnmg
135 # You can replace this text with custom content, and it will be preserved on regeneration