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

(-)a/Koha/Schema/Result/DefaultBranchCircRule.pm (-2 / +32 lines)
Lines 45-56 __PACKAGE__->table("default_branch_circ_rules"); Link Here
45
  data_type: 'tinyint'
45
  data_type: 'tinyint'
46
  is_nullable: 1
46
  is_nullable: 1
47
47
48
=head2 hold_fulfillment_policy
49
50
  data_type: 'enum'
51
  default_value: 'any'
52
  extra: {list => ["any","homebranch","holdingbranch"]}
53
  is_nullable: 0
54
48
=head2 returnbranch
55
=head2 returnbranch
49
56
50
  data_type: 'varchar'
57
  data_type: 'varchar'
51
  is_nullable: 1
58
  is_nullable: 1
52
  size: 15
59
  size: 15
53
60
61
=head2 renew_lost_allowed
62
63
  data_type: 'tinyint'
64
  default_value: 1
65
  is_nullable: 0
66
67
=head2 renew_lost_found
68
69
  data_type: 'tinyint'
70
  default_value: 0
71
  is_nullable: 0
72
54
=cut
73
=cut
55
74
56
__PACKAGE__->add_columns(
75
__PACKAGE__->add_columns(
Lines 62-69 __PACKAGE__->add_columns( Link Here
62
  { data_type => "integer", is_nullable => 1 },
81
  { data_type => "integer", is_nullable => 1 },
63
  "holdallowed",
82
  "holdallowed",
64
  { data_type => "tinyint", is_nullable => 1 },
83
  { data_type => "tinyint", is_nullable => 1 },
84
  "hold_fulfillment_policy",
85
  {
86
    data_type => "enum",
87
    default_value => "any",
88
    extra => { list => ["any", "homebranch", "holdingbranch"] },
89
    is_nullable => 0,
90
  },
65
  "returnbranch",
91
  "returnbranch",
66
  { data_type => "varchar", is_nullable => 1, size => 15 },
92
  { data_type => "varchar", is_nullable => 1, size => 15 },
93
  "renew_lost_allowed",
94
  { data_type => "tinyint", default_value => 1, is_nullable => 0 },
95
  "renew_lost_found",
96
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
67
);
97
);
68
98
69
=head1 PRIMARY KEY
99
=head1 PRIMARY KEY
Lines 96-103 __PACKAGE__->belongs_to( Link Here
96
);
126
);
97
127
98
128
99
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-05-13 17:48:39
129
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-02-03 16:53:36
100
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:p95r3cEx85NtMTEAgiRgBw
130
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UMfpRS3am8WbB58SosLdFg
101
131
102
132
103
# You can replace this text with custom content, and it will be preserved on regeneration
133
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/DefaultCircRule.pm (-3 / +32 lines)
Lines 45-56 __PACKAGE__->table("default_circ_rules"); Link Here
45
  data_type: 'integer'
45
  data_type: 'integer'
46
  is_nullable: 1
46
  is_nullable: 1
47
47
48
=head2 hold_fulfillment_policy
49
50
  data_type: 'enum'
51
  default_value: 'any'
52
  extra: {list => ["any","homebranch","holdingbranch"]}
53
  is_nullable: 0
54
48
=head2 returnbranch
55
=head2 returnbranch
49
56
50
  data_type: 'varchar'
57
  data_type: 'varchar'
51
  is_nullable: 1
58
  is_nullable: 1
52
  size: 15
59
  size: 15
53
60
61
=head2 renew_lost_allowed
62
63
  data_type: 'tinyint'
64
  default_value: 1
65
  is_nullable: 0
66
67
=head2 renew_lost_found
68
69
  data_type: 'tinyint'
70
  default_value: 0
71
  is_nullable: 0
72
54
=cut
73
=cut
55
74
56
__PACKAGE__->add_columns(
75
__PACKAGE__->add_columns(
Lines 67-74 __PACKAGE__->add_columns( Link Here
67
  { data_type => "integer", is_nullable => 1 },
86
  { data_type => "integer", is_nullable => 1 },
68
  "holdallowed",
87
  "holdallowed",
69
  { data_type => "integer", is_nullable => 1 },
88
  { data_type => "integer", is_nullable => 1 },
89
  "hold_fulfillment_policy",
90
  {
91
    data_type => "enum",
92
    default_value => "any",
93
    extra => { list => ["any", "homebranch", "holdingbranch"] },
94
    is_nullable => 0,
95
  },
70
  "returnbranch",
96
  "returnbranch",
71
  { data_type => "varchar", is_nullable => 1, size => 15 },
97
  { data_type => "varchar", is_nullable => 1, size => 15 },
98
  "renew_lost_allowed",
99
  { data_type => "tinyint", default_value => 1, is_nullable => 0 },
100
  "renew_lost_found",
101
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
72
);
102
);
73
103
74
=head1 PRIMARY KEY
104
=head1 PRIMARY KEY
Lines 84-91 __PACKAGE__->add_columns( Link Here
84
__PACKAGE__->set_primary_key("singleton");
114
__PACKAGE__->set_primary_key("singleton");
85
115
86
116
87
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-05-13 17:48:39
117
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-02-03 16:53:36
88
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TLEpv+H3v7P3psVl+WMA0Q
118
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FkXFFUvTy1csd7lC7kuROA
89
119
90
120
91
# You can replace this text with custom content, and it will be preserved on regeneration
121
# You can replace this text with custom content, and it will be preserved on regeneration
92
- 

Return to bug 9805