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

(-)a/Koha/Schema/Result/Biblio.pm (-2 / +17 lines)
Lines 330-335 __PACKAGE__->has_many( Link Here
330
  { cascade_copy => 0, cascade_delete => 0 },
330
  { cascade_copy => 0, cascade_delete => 0 },
331
);
331
);
332
332
333
=head2 linktrackers
334
335
Type: has_many
336
337
Related object: L<Koha::Schema::Result::Linktracker>
338
339
=cut
340
341
__PACKAGE__->has_many(
342
  "linktrackers",
343
  "Koha::Schema::Result::Linktracker",
344
  { "foreign.biblionumber" => "self.biblionumber" },
345
  { cascade_copy => 0, cascade_delete => 0 },
346
);
347
333
=head2 old_reserves
348
=head2 old_reserves
334
349
335
Type: has_many
350
Type: has_many
Lines 496-503 __PACKAGE__->has_many( Link Here
496
);
511
);
497
512
498
513
499
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-02-03 10:03:26
514
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-07-22 09:54:44
500
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YVZN5K/K1v7Kj2yYGwT2CQ
515
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FjffUcBiOmDhB5Wod9urpg
501
516
502
__PACKAGE__->has_many(
517
__PACKAGE__->has_many(
503
  "biblioitem",
518
  "biblioitem",
(-)a/Koha/Schema/Result/Borrower.pm (-2 / +17 lines)
Lines 1349-1354 __PACKAGE__->has_many( Link Here
1349
  { cascade_copy => 0, cascade_delete => 0 },
1349
  { cascade_copy => 0, cascade_delete => 0 },
1350
);
1350
);
1351
1351
1352
=head2 linktrackers
1353
1354
Type: has_many
1355
1356
Related object: L<Koha::Schema::Result::Linktracker>
1357
1358
=cut
1359
1360
__PACKAGE__->has_many(
1361
  "linktrackers",
1362
  "Koha::Schema::Result::Linktracker",
1363
  { "foreign.borrowernumber" => "self.borrowernumber" },
1364
  { cascade_copy => 0, cascade_delete => 0 },
1365
);
1366
1352
=head2 message_queues
1367
=head2 message_queues
1353
1368
1354
Type: has_many
1369
Type: has_many
Lines 1875-1882 Composing rels: L</aqorder_users> -> ordernumber Link Here
1875
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1890
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1876
1891
1877
1892
1878
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-07-12 13:40:00
1893
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-07-22 09:54:44
1879
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IKPb4912o8oCHtmFAi6FPQ
1894
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gjSiLeCD1Xe3+SmyGgDq9g
1880
1895
1881
__PACKAGE__->add_columns(
1896
__PACKAGE__->add_columns(
1882
    '+anonymized'    => { is_boolean => 1 },
1897
    '+anonymized'    => { is_boolean => 1 },
(-)a/Koha/Schema/Result/Item.pm (-2 / +17 lines)
Lines 744-749 __PACKAGE__->might_have( Link Here
744
  { cascade_copy => 0, cascade_delete => 0 },
744
  { cascade_copy => 0, cascade_delete => 0 },
745
);
745
);
746
746
747
=head2 linktrackers
748
749
Type: has_many
750
751
Related object: L<Koha::Schema::Result::Linktracker>
752
753
=cut
754
755
__PACKAGE__->has_many(
756
  "linktrackers",
757
  "Koha::Schema::Result::Linktracker",
758
  { "foreign.itemnumber" => "self.itemnumber" },
759
  { cascade_copy => 0, cascade_delete => 0 },
760
);
761
747
=head2 old_issues
762
=head2 old_issues
748
763
749
Type: has_many
764
Type: has_many
Lines 850-857 __PACKAGE__->has_many( Link Here
850
);
865
);
851
866
852
867
853
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
868
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-07-22 09:54:44
854
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:U5Tm2JfUnfhACRDJ4SpFgQ
869
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:T8g2topYVrbdqhw5UsCmDA
855
870
856
__PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" );
871
__PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" );
857
872
(-)a/Koha/Schema/Result/Linktracker.pm (-6 / +70 lines)
Lines 34-39 primary key identifier Link Here
34
=head2 biblionumber
34
=head2 biblionumber
35
35
36
  data_type: 'integer'
36
  data_type: 'integer'
37
  is_foreign_key: 1
37
  is_nullable: 1
38
  is_nullable: 1
38
39
39
biblionumber of the record the link is from
40
biblionumber of the record the link is from
Lines 41-46 biblionumber of the record the link is from Link Here
41
=head2 itemnumber
42
=head2 itemnumber
42
43
43
  data_type: 'integer'
44
  data_type: 'integer'
45
  is_foreign_key: 1
44
  is_nullable: 1
46
  is_nullable: 1
45
47
46
itemnumber if applicable that the link was from
48
itemnumber if applicable that the link was from
Lines 48-53 itemnumber if applicable that the link was from Link Here
48
=head2 borrowernumber
50
=head2 borrowernumber
49
51
50
  data_type: 'integer'
52
  data_type: 'integer'
53
  is_foreign_key: 1
51
  is_nullable: 1
54
  is_nullable: 1
52
55
53
borrowernumber who clicked the link
56
borrowernumber who clicked the link
Lines 73-83 __PACKAGE__->add_columns( Link Here
73
  "id",
76
  "id",
74
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
77
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
75
  "biblionumber",
78
  "biblionumber",
76
  { data_type => "integer", is_nullable => 1 },
79
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
77
  "itemnumber",
80
  "itemnumber",
78
  { data_type => "integer", is_nullable => 1 },
81
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
79
  "borrowernumber",
82
  "borrowernumber",
80
  { data_type => "integer", is_nullable => 1 },
83
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
81
  "url",
84
  "url",
82
  { data_type => "mediumtext", is_nullable => 1 },
85
  { data_type => "mediumtext", is_nullable => 1 },
83
  "timeclicked",
86
  "timeclicked",
Lines 100-108 __PACKAGE__->add_columns( Link Here
100
103
101
__PACKAGE__->set_primary_key("id");
104
__PACKAGE__->set_primary_key("id");
102
105
106
=head1 RELATIONS
103
107
104
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
108
=head2 biblionumber
105
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dNzvrDz4qAO/rvZaYUEjAg
109
110
Type: belongs_to
111
112
Related object: L<Koha::Schema::Result::Biblio>
113
114
=cut
115
116
__PACKAGE__->belongs_to(
117
  "biblionumber",
118
  "Koha::Schema::Result::Biblio",
119
  { biblionumber => "biblionumber" },
120
  {
121
    is_deferrable => 1,
122
    join_type     => "LEFT",
123
    on_delete     => "SET NULL",
124
    on_update     => "SET NULL",
125
  },
126
);
127
128
=head2 borrowernumber
129
130
Type: belongs_to
131
132
Related object: L<Koha::Schema::Result::Borrower>
133
134
=cut
135
136
__PACKAGE__->belongs_to(
137
  "borrowernumber",
138
  "Koha::Schema::Result::Borrower",
139
  { borrowernumber => "borrowernumber" },
140
  {
141
    is_deferrable => 1,
142
    join_type     => "LEFT",
143
    on_delete     => "SET NULL",
144
    on_update     => "SET NULL",
145
  },
146
);
147
148
=head2 itemnumber
149
150
Type: belongs_to
151
152
Related object: L<Koha::Schema::Result::Item>
153
154
=cut
155
156
__PACKAGE__->belongs_to(
157
  "itemnumber",
158
  "Koha::Schema::Result::Item",
159
  { itemnumber => "itemnumber" },
160
  {
161
    is_deferrable => 1,
162
    join_type     => "LEFT",
163
    on_delete     => "SET NULL",
164
    on_update     => "SET NULL",
165
  },
166
);
167
168
169
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-07-22 09:54:44
170
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/OpO+hgnOTsMMXApkRsT4A
106
171
107
172
108
# You can replace this text with custom content, and it will be preserved on regeneration
173
# You can replace this text with custom content, and it will be preserved on regeneration
109
- 

Return to bug 22690