1 package Koha::Schema::Result::Accountoffset;
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::Accountoffset
18 __PACKAGE__->table("accountoffsets");
49 data_type: 'timestamp'
50 default_value: current_timestamp
55 __PACKAGE__->add_columns(
58 data_type => "integer",
64 { data_type => "smallint", default_value => 0, is_nullable => 0 },
66 { data_type => "smallint", default_value => 0, is_nullable => 0 },
68 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
71 data_type => "timestamp",
72 default_value => \"current_timestamp",
83 Related object: L<Koha::Schema::Result::Borrower>
87 __PACKAGE__->belongs_to(
89 "Koha::Schema::Result::Borrower",
90 { borrowernumber => "borrowernumber" },
91 { on_delete => "CASCADE", on_update => "CASCADE" },
95 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
96 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EgbEZx495kZ40/HqRcPXfA
99 # You can replace this text with custom content, and it will be preserved on regeneration