View | Details | Raw Unified | Return to bug 9809
Collapse All | Expand All

(-)a/Koha/Schema/Result/Reserveconstraint.pm (-83 lines)
Lines 1-82 Link Here
1
use utf8;
2
package Koha::Schema::Result::Reserveconstraint;
3
4
# Created by DBIx::Class::Schema::Loader
5
# DO NOT MODIFY THE FIRST PART OF THIS FILE
6
7
=head1 NAME
8
9
Koha::Schema::Result::Reserveconstraint
10
11
=cut
12
13
use strict;
14
use warnings;
15
16
use base 'DBIx::Class::Core';
17
18
=head1 TABLE: C<reserveconstraints>
19
20
=cut
21
22
__PACKAGE__->table("reserveconstraints");
23
24
=head1 ACCESSORS
25
26
=head2 borrowernumber
27
28
  data_type: 'integer'
29
  default_value: 0
30
  is_nullable: 0
31
32
=head2 reservedate
33
34
  data_type: 'date'
35
  datetime_undef_if_invalid: 1
36
  is_nullable: 1
37
38
=head2 biblionumber
39
40
  data_type: 'integer'
41
  default_value: 0
42
  is_nullable: 0
43
44
=head2 biblioitemnumber
45
46
  data_type: 'integer'
47
  is_nullable: 1
48
49
=head2 timestamp
50
51
  data_type: 'timestamp'
52
  datetime_undef_if_invalid: 1
53
  default_value: current_timestamp
54
  is_nullable: 0
55
56
=cut
57
58
__PACKAGE__->add_columns(
59
  "borrowernumber",
60
  { data_type => "integer", default_value => 0, is_nullable => 0 },
61
  "reservedate",
62
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
63
  "biblionumber",
64
  { data_type => "integer", default_value => 0, is_nullable => 0 },
65
  "biblioitemnumber",
66
  { data_type => "integer", is_nullable => 1 },
67
  "timestamp",
68
  {
69
    data_type => "timestamp",
70
    datetime_undef_if_invalid => 1,
71
    default_value => \"current_timestamp",
72
    is_nullable => 0,
73
  },
74
);
75
76
77
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
78
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qsSPIwQxTBxw3s2a3hD34g
79
80
81
# You can replace this text with custom content, and it will be preserved on regeneration
82
1;
83
- 

Return to bug 9809