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

(-)a/Koha/Schema/Result/Biblio.pm (-2 / +2 lines)
Lines 496-503 __PACKAGE__->has_many( Link Here
496
);
496
);
497
497
498
498
499
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
499
# Created by DBIx::Class::Schema::Loader v0.07048 @ 2021-01-24 12:34:57
500
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nmmsZusHYNAMimE9sImSNg
500
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:v242VpRrw7sl6v8cfqn1uQ
501
501
502
502
503
__PACKAGE__->has_one(
503
__PACKAGE__->has_one(
(-)a/Koha/Schema/Result/Branch.pm (-2 / +2 lines)
Lines 902-909 __PACKAGE__->has_many( Link Here
902
);
902
);
903
903
904
904
905
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
905
# Created by DBIx::Class::Schema::Loader v0.07048 @ 2021-01-24 12:34:57
906
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Uu8m3hyDhM50oTSeNTJbdg
906
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BpKZR7xoWZ4dMocH6lKC3w
907
907
908
__PACKAGE__->add_columns(
908
__PACKAGE__->add_columns(
909
    '+pickup_location' => { is_boolean => 1 }
909
    '+pickup_location' => { is_boolean => 1 }
(-)a/Koha/Schema/Result/Deleteditem.pm (-2 / +4 lines)
Lines 375-380 Exclude this item from local holds priority Link Here
375
  data_type: 'integer'
375
  data_type: 'integer'
376
  is_nullable: 1
376
  is_nullable: 1
377
377
378
foreign key from holdings table used to link this item to the right holdings record
379
378
=cut
380
=cut
379
381
380
__PACKAGE__->add_columns(
382
__PACKAGE__->add_columns(
Lines 502-509 __PACKAGE__->add_columns( Link Here
502
__PACKAGE__->set_primary_key("itemnumber");
504
__PACKAGE__->set_primary_key("itemnumber");
503
505
504
506
505
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
507
# Created by DBIx::Class::Schema::Loader v0.07048 @ 2021-01-24 12:34:57
506
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ytND0t16cwo9dseU+JZSGQ
508
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HDZPRz/I5vlIgkw/c44QcA
507
509
508
__PACKAGE__->add_columns(
510
__PACKAGE__->add_columns(
509
    '+exclude_from_local_holds_priority' => { is_boolean => 1 },
511
    '+exclude_from_local_holds_priority' => { is_boolean => 1 },
(-)a/Koha/Schema/Result/Holding.pm (-2 / +24 lines)
Lines 29-34 __PACKAGE__->table("holdings"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
unique identifier assigned to each holdings record
33
32
=head2 biblionumber
34
=head2 biblionumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
Lines 36-41 __PACKAGE__->table("holdings"); Link Here
36
  is_foreign_key: 1
38
  is_foreign_key: 1
37
  is_nullable: 0
39
  is_nullable: 0
38
40
41
foreign key from biblio table used to link this record to the right bib record
42
39
=head2 frameworkcode
43
=head2 frameworkcode
40
44
41
  data_type: 'varchar'
45
  data_type: 'varchar'
Lines 43-48 __PACKAGE__->table("holdings"); Link Here
43
  is_nullable: 0
47
  is_nullable: 0
44
  size: 4
48
  size: 4
45
49
50
foreign key from the biblio_framework table to identify which framework was used in cataloging this record
51
46
=head2 holdingbranch
52
=head2 holdingbranch
47
53
48
  data_type: 'varchar'
54
  data_type: 'varchar'
Lines 50-78 __PACKAGE__->table("holdings"); Link Here
50
  is_nullable: 1
56
  is_nullable: 1
51
  size: 10
57
  size: 10
52
58
59
foreign key from the branches table for the library that owns this record (MARC21 852$a)
60
53
=head2 location
61
=head2 location
54
62
55
  data_type: 'varchar'
63
  data_type: 'varchar'
56
  is_nullable: 1
64
  is_nullable: 1
57
  size: 80
65
  size: 80
58
66
67
authorized value for the shelving location for this record (MARC21 852$b)
68
59
=head2 ccode
69
=head2 ccode
60
70
61
  data_type: 'varchar'
71
  data_type: 'varchar'
62
  is_nullable: 1
72
  is_nullable: 1
63
  size: 80
73
  size: 80
64
74
75
authorized value for the collection code associated with this item (MARC21 852$g)
76
65
=head2 callnumber
77
=head2 callnumber
66
78
67
  data_type: 'varchar'
79
  data_type: 'varchar'
68
  is_nullable: 1
80
  is_nullable: 1
69
  size: 255
81
  size: 255
70
82
83
call number (852$h+$i in MARC21)
84
71
=head2 suppress
85
=head2 suppress
72
86
73
  data_type: 'tinyint'
87
  data_type: 'tinyint'
74
  is_nullable: 1
88
  is_nullable: 1
75
89
90
Boolean indicating whether the record is suppressed in OPAC
91
76
=head2 timestamp
92
=head2 timestamp
77
93
78
  data_type: 'timestamp'
94
  data_type: 'timestamp'
Lines 80-97 __PACKAGE__->table("holdings"); Link Here
80
  default_value: current_timestamp
96
  default_value: current_timestamp
81
  is_nullable: 0
97
  is_nullable: 0
82
98
99
date and time this record was last touched
100
83
=head2 datecreated
101
=head2 datecreated
84
102
85
  data_type: 'date'
103
  data_type: 'date'
86
  datetime_undef_if_invalid: 1
104
  datetime_undef_if_invalid: 1
87
  is_nullable: 0
105
  is_nullable: 0
88
106
107
the date this record was added to Koha
108
89
=head2 deleted_on
109
=head2 deleted_on
90
110
91
  data_type: 'datetime'
111
  data_type: 'datetime'
92
  datetime_undef_if_invalid: 1
112
  datetime_undef_if_invalid: 1
93
  is_nullable: 1
113
  is_nullable: 1
94
114
115
the date this record was deleted
116
95
=cut
117
=cut
96
118
97
__PACKAGE__->add_columns(
119
__PACKAGE__->add_columns(
Lines 213-220 __PACKAGE__->has_many( Link Here
213
);
235
);
214
236
215
237
216
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-05-15 12:37:06
238
# Created by DBIx::Class::Schema::Loader v0.07048 @ 2021-01-24 12:34:57
217
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:r5dS7lMIAG11s3PYFp/NKQ
239
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cb9mVGJ6TJ+GqAuqMaNEQQ
218
240
219
=head2 metadata
241
=head2 metadata
220
242
(-)a/Koha/Schema/Result/HoldingsMetadata.pm (-2 / +4 lines)
Lines 58-63 __PACKAGE__->table("holdings_metadata"); Link Here
58
  datetime_undef_if_invalid: 1
58
  datetime_undef_if_invalid: 1
59
  is_nullable: 1
59
  is_nullable: 1
60
60
61
the date this record was deleted
62
61
=cut
63
=cut
62
64
63
__PACKAGE__->add_columns(
65
__PACKAGE__->add_columns(
Lines 130-137 __PACKAGE__->belongs_to( Link Here
130
);
132
);
131
133
132
134
133
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2019-02-20 16:55:21
135
# Created by DBIx::Class::Schema::Loader v0.07048 @ 2021-01-24 12:34:57
134
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:42bY17ncjs1OZKH23z4SgQ
136
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:msXxqOTn5rKZf188+KFk8g
135
137
136
138
137
# You can replace this text with custom code or comments, and it will be preserved on regeneration
139
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Item.pm (-3 / +4 lines)
Lines 380-385 Exclude this item from local holds priority Link Here
380
  is_foreign_key: 1
380
  is_foreign_key: 1
381
  is_nullable: 1
381
  is_nullable: 1
382
382
383
foreign key from holdings table used to link this item to the right holdings record
384
383
=cut
385
=cut
384
386
385
__PACKAGE__->add_columns(
387
__PACKAGE__->add_columns(
Lines 878-885 __PACKAGE__->has_many( Link Here
878
);
880
);
879
881
880
882
881
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
883
# Created by DBIx::Class::Schema::Loader v0.07048 @ 2021-01-24 12:34:57
882
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:U5Tm2JfUnfhACRDJ4SpFgQ
884
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OPCRh54tzKseh6b2dHhB2g
883
885
884
__PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" );
886
__PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" );
885
887
886
- 

Return to bug 20447