Lines 36-41
__PACKAGE__->table("circulation_rules");
Link Here
|
36 |
is_nullable: 1 |
36 |
is_nullable: 1 |
37 |
size: 10 |
37 |
size: 10 |
38 |
|
38 |
|
|
|
39 |
=head2 onsite_checkout |
40 |
|
41 |
data_type: 'integer' |
42 |
is_nullable: 1 |
43 |
|
39 |
=head2 categorycode |
44 |
=head2 categorycode |
40 |
|
45 |
|
41 |
data_type: 'varchar' |
46 |
data_type: 'varchar' |
Lines 69-74
__PACKAGE__->add_columns(
Link Here
|
69 |
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, |
74 |
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, |
70 |
"branchcode", |
75 |
"branchcode", |
71 |
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 }, |
76 |
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 }, |
|
|
77 |
"onsite_checkout", |
78 |
{ data_type => "integer", is_nullable => 1 }, |
72 |
"categorycode", |
79 |
"categorycode", |
73 |
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 }, |
80 |
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 }, |
74 |
"itemtype", |
81 |
"itemtype", |
Lines 99-104
__PACKAGE__->set_primary_key("id");
Link Here
|
99 |
|
106 |
|
100 |
=item * L</branchcode> |
107 |
=item * L</branchcode> |
101 |
|
108 |
|
|
|
109 |
=item * L</onsite_checkout> |
110 |
|
102 |
=item * L</categorycode> |
111 |
=item * L</categorycode> |
103 |
|
112 |
|
104 |
=item * L</itemtype> |
113 |
=item * L</itemtype> |
Lines 111-117
__PACKAGE__->set_primary_key("id");
Link Here
|
111 |
|
120 |
|
112 |
__PACKAGE__->add_unique_constraint( |
121 |
__PACKAGE__->add_unique_constraint( |
113 |
"branchcode", |
122 |
"branchcode", |
114 |
["branchcode", "categorycode", "itemtype", "rule_name"], |
123 |
[ |
|
|
124 |
"branchcode", |
125 |
"onsite_checkout", |
126 |
"categorycode", |
127 |
"itemtype", |
128 |
"rule_name", |
129 |
], |
115 |
); |
130 |
); |
116 |
|
131 |
|
117 |
=head1 RELATIONS |
132 |
=head1 RELATIONS |
Lines 177-184
__PACKAGE__->belongs_to(
Link Here
|
177 |
); |
192 |
); |
178 |
|
193 |
|
179 |
|
194 |
|
180 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-05 14:29:17 |
195 |
# Created by DBIx::Class::Schema::Loader v0.07048 @ 2020-10-23 00:02:27 |
181 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QHMqvrtX0ohJe70PHUYZ0Q |
196 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:x+mCm8UV/jVMDEgDSED8Ig |
182 |
|
197 |
|
183 |
sub koha_objects_class { |
198 |
sub koha_objects_class { |
184 |
'Koha::CirculationRules'; |
199 |
'Koha::CirculationRules'; |
185 |
- |
|
|