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

(-)a/Koha/Schema/Result/Borrower.pm (-3 / +3 lines)
Lines 2157-2163 Related object: L<Koha::Schema::Result::Virtualshelve> Link Here
2157
__PACKAGE__->has_many(
2157
__PACKAGE__->has_many(
2158
  "virtualshelves",
2158
  "virtualshelves",
2159
  "Koha::Schema::Result::Virtualshelve",
2159
  "Koha::Schema::Result::Virtualshelve",
2160
  { "foreign.owner" => "self.borrowernumber" },
2160
  { "foreign.owner_id" => "self.borrowernumber" },
2161
  { cascade_copy => 0, cascade_delete => 0 },
2161
  { cascade_copy => 0, cascade_delete => 0 },
2162
);
2162
);
2163
2163
Lines 2212-2219 Composing rels: L</user_permissions> -> permission Link Here
2212
__PACKAGE__->many_to_many("permissions", "user_permissions", "permission");
2212
__PACKAGE__->many_to_many("permissions", "user_permissions", "permission");
2213
2213
2214
2214
2215
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-10-29 16:44:27
2215
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-03-02 13:02:45
2216
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SSJcjPvlr82qecmbk1Q8iA
2216
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0AKVBQau2POdoPO8cnejYQ
2217
2217
2218
__PACKAGE__->belongs_to(
2218
__PACKAGE__->belongs_to(
2219
  "library",
2219
  "library",
(-)a/Koha/Schema/Result/Virtualshelve.pm (-6 / +5 lines)
Lines 39-45 unique identifier assigned by Koha Link Here
39
39
40
name of the list
40
name of the list
41
41
42
=head2 owner
42
=head2 owner_id
43
43
44
  data_type: 'integer'
44
  data_type: 'integer'
45
  is_foreign_key: 1
45
  is_foreign_key: 1
Lines 120-126 __PACKAGE__->add_columns( Link Here
120
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
120
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
121
  "shelfname",
121
  "shelfname",
122
  { data_type => "varchar", is_nullable => 1, size => 255 },
122
  { data_type => "varchar", is_nullable => 1, size => 255 },
123
  "owner",
123
  "owner_id",
124
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
124
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
125
  "public",
125
  "public",
126
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
126
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
Lines 179-185 Related object: L<Koha::Schema::Result::Borrower> Link Here
179
__PACKAGE__->belongs_to(
179
__PACKAGE__->belongs_to(
180
  "owner",
180
  "owner",
181
  "Koha::Schema::Result::Borrower",
181
  "Koha::Schema::Result::Borrower",
182
  { borrowernumber => "owner" },
182
  { borrowernumber => "owner_id" },
183
  {
183
  {
184
    is_deferrable => 1,
184
    is_deferrable => 1,
185
    join_type     => "LEFT",
185
    join_type     => "LEFT",
Lines 219-226 __PACKAGE__->has_many( Link Here
219
);
219
);
220
220
221
221
222
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-08-17 19:59:33
222
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-03-02 13:02:45
223
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EKq7nDW2AeZ2NQce2BPMWA
223
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EDGKMMT7lAa8ReI9gNKJPg
224
224
225
=head2 koha_object_class
225
=head2 koha_object_class
226
226
227
- 

Return to bug 37346