Lines 80-85
ticket details
Link Here
|
80 |
|
80 |
|
81 |
current status of the ticket |
81 |
current status of the ticket |
82 |
|
82 |
|
|
|
83 |
=head2 assignee_id |
84 |
|
85 |
data_type: 'integer' |
86 |
is_foreign_key: 1 |
87 |
is_nullable: 1 |
88 |
|
89 |
id of the user who this ticket is assigned to |
90 |
|
83 |
=head2 resolver_id |
91 |
=head2 resolver_id |
84 |
|
92 |
|
85 |
data_type: 'integer' |
93 |
data_type: 'integer' |
Lines 136-141
__PACKAGE__->add_columns(
Link Here
|
136 |
{ data_type => "text", is_nullable => 0 }, |
144 |
{ data_type => "text", is_nullable => 0 }, |
137 |
"status", |
145 |
"status", |
138 |
{ data_type => "varchar", is_nullable => 1, size => 80 }, |
146 |
{ data_type => "varchar", is_nullable => 1, size => 80 }, |
|
|
147 |
"assignee_id", |
148 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
139 |
"resolver_id", |
149 |
"resolver_id", |
140 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
150 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
141 |
"resolved_date", |
151 |
"resolved_date", |
Lines 162-167
__PACKAGE__->set_primary_key("id");
Link Here
|
162 |
|
172 |
|
163 |
=head1 RELATIONS |
173 |
=head1 RELATIONS |
164 |
|
174 |
|
|
|
175 |
=head2 assignee |
176 |
|
177 |
Type: belongs_to |
178 |
|
179 |
Related object: L<Koha::Schema::Result::Borrower> |
180 |
|
181 |
=cut |
182 |
|
183 |
__PACKAGE__->belongs_to( |
184 |
"assignee", |
185 |
"Koha::Schema::Result::Borrower", |
186 |
{ borrowernumber => "assignee_id" }, |
187 |
{ |
188 |
is_deferrable => 1, |
189 |
join_type => "LEFT", |
190 |
on_delete => "CASCADE", |
191 |
on_update => "CASCADE", |
192 |
}, |
193 |
); |
194 |
|
165 |
=head2 biblio |
195 |
=head2 biblio |
166 |
|
196 |
|
167 |
Type: belongs_to |
197 |
Type: belongs_to |
Lines 233-240
__PACKAGE__->has_many(
Link Here
|
233 |
); |
263 |
); |
234 |
|
264 |
|
235 |
|
265 |
|
236 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-12-22 14:51:40 |
266 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-12-29 11:05:09 |
237 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lcKWaA+k/0lw5/6JrFhB1A |
267 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CluP2ZCuByEcC3E0tLoOkA |
238 |
|
268 |
|
239 |
|
269 |
|
240 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
270 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |