2 package Koha::Schema::Result::BorrowerFile;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::BorrowerFile
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<borrower_files>
22 __PACKAGE__->table("borrower_files");
50 =head2 file_description
63 data_type: 'timestamp'
64 datetime_undef_if_invalid: 1
65 default_value: current_timestamp
70 __PACKAGE__->add_columns(
72 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
74 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
76 { data_type => "varchar", is_nullable => 0, size => 255 },
78 { data_type => "varchar", is_nullable => 0, size => 255 },
80 { data_type => "varchar", is_nullable => 1, size => 255 },
82 { data_type => "longblob", is_nullable => 0 },
85 data_type => "timestamp",
86 datetime_undef_if_invalid => 1,
87 default_value => \"current_timestamp",
102 __PACKAGE__->set_primary_key("file_id");
106 =head2 borrowernumber
110 Related object: L<Koha::Schema::Result::Borrower>
114 __PACKAGE__->belongs_to(
116 "Koha::Schema::Result::Borrower",
117 { borrowernumber => "borrowernumber" },
118 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
122 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
123 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sbkf7bvdO4CgmiBLgIwYQg
126 # You can replace this text with custom content, and it will be preserved on regeneration