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

(-)a/Koha/Schema/Result/AccountCreditType.pm (-2 / +4 lines)
Lines 61-66 Is autogeneration of credit number enabled for this credit type Link Here
61
  default_value: 0
61
  default_value: 0
62
  is_nullable: 0
62
  is_nullable: 0
63
63
64
boolean flag to denote if this till is archived or not
65
64
=cut
66
=cut
65
67
66
__PACKAGE__->add_columns(
68
__PACKAGE__->add_columns(
Lines 123-130 __PACKAGE__->has_many( Link Here
123
);
125
);
124
126
125
127
126
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-06-25 09:19:20
128
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
127
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GESL9hjEPlrQBiuHO4haAw
129
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:68pbi2+RgkjSrfSudDNAfA
128
130
129
__PACKAGE__->add_columns(
131
__PACKAGE__->add_columns(
130
    '+is_system'             => { is_boolean => 1 },
132
    '+is_system'             => { is_boolean => 1 },
(-)a/Koha/Schema/Result/AccountDebitType.pm (-2 / +8 lines)
Lines 41-52 __PACKAGE__->table("account_debit_types"); Link Here
41
  default_value: 1
41
  default_value: 1
42
  is_nullable: 0
42
  is_nullable: 0
43
43
44
boolean flag to denote if this debit type is available for manual invoicing
45
44
=head2 can_be_sold
46
=head2 can_be_sold
45
47
46
  data_type: 'tinyint'
48
  data_type: 'tinyint'
47
  default_value: 0
49
  default_value: 0
48
  is_nullable: 0
50
  is_nullable: 0
49
51
52
boolean flag to denote if this debit type is available at point of sale
53
50
=head2 default_amount
54
=head2 default_amount
51
55
52
  data_type: 'decimal'
56
  data_type: 'decimal'
Lines 65-70 __PACKAGE__->table("account_debit_types"); Link Here
65
  default_value: 0
69
  default_value: 0
66
  is_nullable: 0
70
  is_nullable: 0
67
71
72
boolean flag to denote if this till is archived or not
73
68
=cut
74
=cut
69
75
70
__PACKAGE__->add_columns(
76
__PACKAGE__->add_columns(
Lines 129-136 __PACKAGE__->has_many( Link Here
129
);
135
);
130
136
131
137
132
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-17 12:22:04
138
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
133
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8FIMJZ+JAmqa+Dx7oymBjw
139
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mAzmSdW6jeYlUOqv7lIr1Q
134
140
135
__PACKAGE__->add_columns(
141
__PACKAGE__->add_columns(
136
    '+is_system' => { is_boolean => 1 }
142
    '+is_system' => { is_boolean => 1 }
(-)a/Koha/Schema/Result/AccountOffset.pm (-2 / +12 lines)
Lines 29-46 __PACKAGE__->table("account_offsets"); 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 for each offset
33
32
=head2 credit_id
34
=head2 credit_id
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 1
38
  is_nullable: 1
37
39
40
The id of the accountline the increased the patron's balance
41
38
=head2 debit_id
42
=head2 debit_id
39
43
40
  data_type: 'integer'
44
  data_type: 'integer'
41
  is_foreign_key: 1
45
  is_foreign_key: 1
42
  is_nullable: 1
46
  is_nullable: 1
43
47
48
The id of the accountline that decreased the patron's balance
49
44
=head2 type
50
=head2 type
45
51
46
  data_type: 'varchar'
52
  data_type: 'varchar'
Lines 48-59 __PACKAGE__->table("account_offsets"); Link Here
48
  is_nullable: 0
54
  is_nullable: 0
49
  size: 16
55
  size: 16
50
56
57
The type of offset this is
58
51
=head2 amount
59
=head2 amount
52
60
53
  data_type: 'decimal'
61
  data_type: 'decimal'
54
  is_nullable: 0
62
  is_nullable: 0
55
  size: [26,6]
63
  size: [26,6]
56
64
65
The amount of the change
66
57
=head2 created_on
67
=head2 created_on
58
68
59
  data_type: 'timestamp'
69
  data_type: 'timestamp'
Lines 153-160 __PACKAGE__->belongs_to( Link Here
153
);
163
);
154
164
155
165
156
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-10-20 16:27:04
166
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
157
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:tPPrIug2c7PbDO7LCxCJAA
167
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HZp7Ilze0sIkVqhsErC2kQ
158
168
159
sub koha_object_class {
169
sub koha_object_class {
160
    'Koha::Account::Offset';
170
    'Koha::Account::Offset';
(-)a/Koha/Schema/Result/AccountOffsetType.pm (-2 / +4 lines)
Lines 29-34 __PACKAGE__->table("account_offset_types"); Link Here
29
  is_nullable: 0
29
  is_nullable: 0
30
  size: 16
30
  size: 16
31
31
32
The type of offset this is
33
32
=cut
34
=cut
33
35
34
__PACKAGE__->add_columns(
36
__PACKAGE__->add_columns(
Lines 66-73 __PACKAGE__->has_many( Link Here
66
);
68
);
67
69
68
70
69
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-10-20 16:27:04
71
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
70
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rPRWMfAfRke3jGG3iISi2A
72
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IhGFWPAnwAb88g3BBUe01Q
71
73
72
74
73
# You can replace this text with custom code or comments, and it will be preserved on regeneration
75
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Accountline.pm (-2 / +6 lines)
Lines 97-102 autogenerated number for credits Link Here
97
  is_nullable: 1
97
  is_nullable: 1
98
  size: 80
98
  size: 80
99
99
100
optional authorised value PAYMENT_TYPE
101
100
=head2 amountoutstanding
102
=head2 amountoutstanding
101
103
102
  data_type: 'decimal'
104
  data_type: 'decimal'
Lines 140-145 autogenerated number for credits Link Here
140
  is_nullable: 1
142
  is_nullable: 1
141
  size: 10
143
  size: 10
142
144
145
the branchcode of the library where a payment was made, a manual invoice created, etc.
146
143
=cut
147
=cut
144
148
145
__PACKAGE__->add_columns(
149
__PACKAGE__->add_columns(
Lines 377-384 __PACKAGE__->belongs_to( Link Here
377
);
381
);
378
382
379
383
380
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-06-25 09:19:20
384
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
381
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:I/S3NLbod+8BgBMcwYz+cA
385
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/Ve0Q3xBSkKamXG+2roUZw
382
386
383
=head2 library
387
=head2 library
384
388
(-)a/Koha/Schema/Result/ActionLog.pm (-2 / +18 lines)
Lines 29-34 __PACKAGE__->table("action_logs"); 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 for each action
33
32
=head2 timestamp
34
=head2 timestamp
33
35
34
  data_type: 'timestamp'
36
  data_type: 'timestamp'
Lines 36-73 __PACKAGE__->table("action_logs"); Link Here
36
  default_value: current_timestamp
38
  default_value: current_timestamp
37
  is_nullable: 0
39
  is_nullable: 0
38
40
41
the date and time the action took place
42
39
=head2 user
43
=head2 user
40
44
41
  data_type: 'integer'
45
  data_type: 'integer'
42
  default_value: 0
46
  default_value: 0
43
  is_nullable: 0
47
  is_nullable: 0
44
48
49
the staff member who performed the action (borrowers.borrowernumber)
50
45
=head2 module
51
=head2 module
46
52
47
  data_type: 'mediumtext'
53
  data_type: 'mediumtext'
48
  is_nullable: 1
54
  is_nullable: 1
49
55
56
the module this action was taken against
57
50
=head2 action
58
=head2 action
51
59
52
  data_type: 'mediumtext'
60
  data_type: 'mediumtext'
53
  is_nullable: 1
61
  is_nullable: 1
54
62
63
the action (includes things like DELETED, ADDED, MODIFY, etc)
64
55
=head2 object
65
=head2 object
56
66
57
  data_type: 'integer'
67
  data_type: 'integer'
58
  is_nullable: 1
68
  is_nullable: 1
59
69
70
the object that the action was taken against (could be a borrowernumber, itemnumber, etc)
71
60
=head2 info
72
=head2 info
61
73
62
  data_type: 'mediumtext'
74
  data_type: 'mediumtext'
63
  is_nullable: 1
75
  is_nullable: 1
64
76
77
information about the action (usually includes SQL statement)
78
65
=head2 interface
79
=head2 interface
66
80
67
  data_type: 'varchar'
81
  data_type: 'varchar'
68
  is_nullable: 1
82
  is_nullable: 1
69
  size: 30
83
  size: 30
70
84
85
the context this action was taken in
86
71
=cut
87
=cut
72
88
73
__PACKAGE__->add_columns(
89
__PACKAGE__->add_columns(
Lines 107-114 __PACKAGE__->add_columns( Link Here
107
__PACKAGE__->set_primary_key("action_id");
123
__PACKAGE__->set_primary_key("action_id");
108
124
109
125
110
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
126
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
111
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VVXBchLYkj+S+lLhl7bKgw
127
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:AD9G0KiiFUmhsS9m8O1Z+w
112
128
113
129
114
# You can replace this text with custom code or comments, and it will be preserved on regeneration
130
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/AdditionalField.pm (-2 / +14 lines)
Lines 29-34 __PACKAGE__->table("additional_fields"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
primary key identifier
33
32
=head2 tablename
34
=head2 tablename
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
Lines 36-41 __PACKAGE__->table("additional_fields"); Link Here
36
  is_nullable: 0
38
  is_nullable: 0
37
  size: 255
39
  size: 255
38
40
41
tablename of the new field
42
39
=head2 name
43
=head2 name
40
44
41
  data_type: 'varchar'
45
  data_type: 'varchar'
Lines 43-48 __PACKAGE__->table("additional_fields"); Link Here
43
  is_nullable: 0
47
  is_nullable: 0
44
  size: 255
48
  size: 255
45
49
50
name of the field
51
46
=head2 authorised_value_category
52
=head2 authorised_value_category
47
53
48
  data_type: 'varchar'
54
  data_type: 'varchar'
Lines 50-55 __PACKAGE__->table("additional_fields"); Link Here
50
  is_nullable: 0
56
  is_nullable: 0
51
  size: 16
57
  size: 16
52
58
59
is an authorised value category
60
53
=head2 marcfield
61
=head2 marcfield
54
62
55
  data_type: 'varchar'
63
  data_type: 'varchar'
Lines 57-68 __PACKAGE__->table("additional_fields"); Link Here
57
  is_nullable: 0
65
  is_nullable: 0
58
  size: 16
66
  size: 16
59
67
68
contains the marc field to copied into the record
69
60
=head2 searchable
70
=head2 searchable
61
71
62
  data_type: 'tinyint'
72
  data_type: 'tinyint'
63
  default_value: 0
73
  default_value: 0
64
  is_nullable: 0
74
  is_nullable: 0
65
75
76
is the field searchable?
77
66
=cut
78
=cut
67
79
68
__PACKAGE__->add_columns(
80
__PACKAGE__->add_columns(
Lines 126-133 __PACKAGE__->has_many( Link Here
126
);
138
);
127
139
128
140
129
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-10-02 15:12:02
141
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
130
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vvz9GJNkU4K7bftDNuRHVA
142
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0MjMrOzpCHJGtrwtLzF7Hw
131
143
132
144
133
# You can replace this text with custom code or comments, and it will be preserved on regeneration
145
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/AdditionalFieldValue.pm (-2 / +10 lines)
Lines 29-45 __PACKAGE__->table("additional_field_values"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
primary key identifier
33
32
=head2 field_id
34
=head2 field_id
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
foreign key references additional_fields(id)
41
38
=head2 record_id
42
=head2 record_id
39
43
40
  data_type: 'integer'
44
  data_type: 'integer'
41
  is_nullable: 0
45
  is_nullable: 0
42
46
47
record_id
48
43
=head2 value
49
=head2 value
44
50
45
  data_type: 'varchar'
51
  data_type: 'varchar'
Lines 47-52 __PACKAGE__->table("additional_field_values"); Link Here
47
  is_nullable: 0
53
  is_nullable: 0
48
  size: 255
54
  size: 255
49
55
56
value for this field
57
50
=cut
58
=cut
51
59
52
__PACKAGE__->add_columns(
60
__PACKAGE__->add_columns(
Lines 106-113 __PACKAGE__->belongs_to( Link Here
106
);
114
);
107
115
108
116
109
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-10-02 15:12:02
117
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
110
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:a9G6nhDU9dBDcRRN0vzkLA
118
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nx5E23ZVUbLOGfBgLYIIQQ
111
119
112
120
113
# You can replace this text with custom code or comments, and it will be preserved on regeneration
121
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/AdvancedEditorMacro.pm (-2 / +12 lines)
Lines 29-57 __PACKAGE__->table("advanced_editor_macros"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
Unique ID of the macro
33
32
=head2 name
34
=head2 name
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
35
  is_nullable: 0
37
  is_nullable: 0
36
  size: 80
38
  size: 80
37
39
40
Name of the macro
41
38
=head2 macro
42
=head2 macro
39
43
40
  data_type: 'longtext'
44
  data_type: 'longtext'
41
  is_nullable: 1
45
  is_nullable: 1
42
46
47
The macro code itself
48
43
=head2 borrowernumber
49
=head2 borrowernumber
44
50
45
  data_type: 'integer'
51
  data_type: 'integer'
46
  is_foreign_key: 1
52
  is_foreign_key: 1
47
  is_nullable: 1
53
  is_nullable: 1
48
54
55
ID of the borrower who created this macro
56
49
=head2 shared
57
=head2 shared
50
58
51
  data_type: 'tinyint'
59
  data_type: 'tinyint'
52
  default_value: 0
60
  default_value: 0
53
  is_nullable: 1
61
  is_nullable: 1
54
62
63
Bit to define if shared or private macro
64
55
=cut
65
=cut
56
66
57
__PACKAGE__->add_columns(
67
__PACKAGE__->add_columns(
Lines 102-109 __PACKAGE__->belongs_to( Link Here
102
);
112
);
103
113
104
114
105
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-01-02 15:01:04
115
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
106
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Wx556VlgXYqdP2XyQ87Jzg
116
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hE2MSdkkb71NoBpDM1jo5A
107
117
108
__PACKAGE__->add_columns(
118
__PACKAGE__->add_columns(
109
            '+shared' => { is_boolean => 1 },
119
            '+shared' => { is_boolean => 1 },
(-)a/Koha/Schema/Result/ApiKey.pm (-2 / +12 lines)
Lines 29-58 __PACKAGE__->table("api_keys"); Link Here
29
  is_nullable: 0
29
  is_nullable: 0
30
  size: 191
30
  size: 191
31
31
32
API client ID
33
32
=head2 secret
34
=head2 secret
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
35
  is_nullable: 0
37
  is_nullable: 0
36
  size: 191
38
  size: 191
37
39
40
API client secret used for API authentication
41
38
=head2 description
42
=head2 description
39
43
40
  data_type: 'varchar'
44
  data_type: 'varchar'
41
  is_nullable: 0
45
  is_nullable: 0
42
  size: 255
46
  size: 255
43
47
48
API client description
49
44
=head2 patron_id
50
=head2 patron_id
45
51
46
  data_type: 'integer'
52
  data_type: 'integer'
47
  is_foreign_key: 1
53
  is_foreign_key: 1
48
  is_nullable: 0
54
  is_nullable: 0
49
55
56
Foreign key to the borrowers table
57
50
=head2 active
58
=head2 active
51
59
52
  data_type: 'tinyint'
60
  data_type: 'tinyint'
53
  default_value: 1
61
  default_value: 1
54
  is_nullable: 0
62
  is_nullable: 0
55
63
64
0 means this API key is revoked
65
56
=cut
66
=cut
57
67
58
__PACKAGE__->add_columns(
68
__PACKAGE__->add_columns(
Lines 112-119 __PACKAGE__->belongs_to( Link Here
112
);
122
);
113
123
114
124
115
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-04-14 14:48:10
125
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
116
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qnu4QSACpOSQaZgd52ozmw
126
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Wt1nC+nAMD9+zcNi9YbTEQ
117
127
118
__PACKAGE__->add_columns(
128
__PACKAGE__->add_columns(
119
    '+active' => { is_boolean => 1 }
129
    '+active' => { is_boolean => 1 }
(-)a/Koha/Schema/Result/Aqbasket.pm (-2 / +34 lines)
Lines 29-68 __PACKAGE__->table("aqbasket"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
primary key, Koha defined number
33
32
=head2 basketname
34
=head2 basketname
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
35
  is_nullable: 1
37
  is_nullable: 1
36
  size: 50
38
  size: 50
37
39
40
name given to the basket at creation
41
38
=head2 note
42
=head2 note
39
43
40
  data_type: 'longtext'
44
  data_type: 'longtext'
41
  is_nullable: 1
45
  is_nullable: 1
42
46
47
the internal note added at basket creation
48
43
=head2 booksellernote
49
=head2 booksellernote
44
50
45
  data_type: 'longtext'
51
  data_type: 'longtext'
46
  is_nullable: 1
52
  is_nullable: 1
47
53
54
the vendor note added at basket creation
55
48
=head2 contractnumber
56
=head2 contractnumber
49
57
50
  data_type: 'integer'
58
  data_type: 'integer'
51
  is_foreign_key: 1
59
  is_foreign_key: 1
52
  is_nullable: 1
60
  is_nullable: 1
53
61
62
links this basket to the aqcontract table (aqcontract.contractnumber)
63
54
=head2 creationdate
64
=head2 creationdate
55
65
56
  data_type: 'date'
66
  data_type: 'date'
57
  datetime_undef_if_invalid: 1
67
  datetime_undef_if_invalid: 1
58
  is_nullable: 1
68
  is_nullable: 1
59
69
70
the date the basket was created
71
60
=head2 closedate
72
=head2 closedate
61
73
62
  data_type: 'date'
74
  data_type: 'date'
63
  datetime_undef_if_invalid: 1
75
  datetime_undef_if_invalid: 1
64
  is_nullable: 1
76
  is_nullable: 1
65
77
78
the date the basket was closed
79
66
=head2 booksellerid
80
=head2 booksellerid
67
81
68
  data_type: 'integer'
82
  data_type: 'integer'
Lines 70-104 __PACKAGE__->table("aqbasket"); Link Here
70
  is_foreign_key: 1
84
  is_foreign_key: 1
71
  is_nullable: 0
85
  is_nullable: 0
72
86
87
the Koha assigned ID for the vendor (aqbooksellers.id)
88
73
=head2 authorisedby
89
=head2 authorisedby
74
90
75
  data_type: 'varchar'
91
  data_type: 'varchar'
76
  is_nullable: 1
92
  is_nullable: 1
77
  size: 10
93
  size: 10
78
94
95
the borrowernumber of the person who created the basket
96
79
=head2 booksellerinvoicenumber
97
=head2 booksellerinvoicenumber
80
98
81
  data_type: 'longtext'
99
  data_type: 'longtext'
82
  is_nullable: 1
100
  is_nullable: 1
83
101
102
appears to always be NULL
103
84
=head2 basketgroupid
104
=head2 basketgroupid
85
105
86
  data_type: 'integer'
106
  data_type: 'integer'
87
  is_foreign_key: 1
107
  is_foreign_key: 1
88
  is_nullable: 1
108
  is_nullable: 1
89
109
110
links this basket to its group (aqbasketgroups.id)
111
90
=head2 deliveryplace
112
=head2 deliveryplace
91
113
92
  data_type: 'varchar'
114
  data_type: 'varchar'
93
  is_nullable: 1
115
  is_nullable: 1
94
  size: 10
116
  size: 10
95
117
118
basket delivery place
119
96
=head2 billingplace
120
=head2 billingplace
97
121
98
  data_type: 'varchar'
122
  data_type: 'varchar'
99
  is_nullable: 1
123
  is_nullable: 1
100
  size: 10
124
  size: 10
101
125
126
basket billing place
127
102
=head2 branch
128
=head2 branch
103
129
104
  data_type: 'varchar'
130
  data_type: 'varchar'
Lines 106-123 __PACKAGE__->table("aqbasket"); Link Here
106
  is_nullable: 1
132
  is_nullable: 1
107
  size: 10
133
  size: 10
108
134
135
basket branch
136
109
=head2 is_standing
137
=head2 is_standing
110
138
111
  data_type: 'tinyint'
139
  data_type: 'tinyint'
112
  default_value: 0
140
  default_value: 0
113
  is_nullable: 0
141
  is_nullable: 0
114
142
143
orders in this basket are standing
144
115
=head2 create_items
145
=head2 create_items
116
146
117
  data_type: 'enum'
147
  data_type: 'enum'
118
  extra: {list => ["ordering","receiving","cataloguing"]}
148
  extra: {list => ["ordering","receiving","cataloguing"]}
119
  is_nullable: 1
149
  is_nullable: 1
120
150
151
when items should be created for orders in this basket
152
121
=cut
153
=cut
122
154
123
__PACKAGE__->add_columns(
155
__PACKAGE__->add_columns(
Lines 309-316 Composing rels: L</aqbasketusers> -> borrowernumber Link Here
309
__PACKAGE__->many_to_many("borrowernumbers", "aqbasketusers", "borrowernumber");
341
__PACKAGE__->many_to_many("borrowernumbers", "aqbasketusers", "borrowernumber");
310
342
311
343
312
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
344
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
313
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gSw/f4JmMBzEssEFRg2fAQ
345
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Alq0lbSwRP7DUVIHJoHZpQ
314
346
315
__PACKAGE__->has_many(
347
__PACKAGE__->has_many(
316
  "additional_field_values",
348
  "additional_field_values",
(-)a/Koha/Schema/Result/Aqbookseller.pm (-2 / +44 lines)
Lines 29-91 __PACKAGE__->table("aqbooksellers"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
primary key and unique identifier assigned by Koha
33
32
=head2 name
34
=head2 name
33
35
34
  data_type: 'longtext'
36
  data_type: 'longtext'
35
  is_nullable: 0
37
  is_nullable: 0
36
38
39
vendor name
40
37
=head2 address1
41
=head2 address1
38
42
39
  data_type: 'longtext'
43
  data_type: 'longtext'
40
  is_nullable: 1
44
  is_nullable: 1
41
45
46
first line of vendor physical address
47
42
=head2 address2
48
=head2 address2
43
49
44
  data_type: 'longtext'
50
  data_type: 'longtext'
45
  is_nullable: 1
51
  is_nullable: 1
46
52
53
second line of vendor physical address
54
47
=head2 address3
55
=head2 address3
48
56
49
  data_type: 'longtext'
57
  data_type: 'longtext'
50
  is_nullable: 1
58
  is_nullable: 1
51
59
60
third line of vendor physical address
61
52
=head2 address4
62
=head2 address4
53
63
54
  data_type: 'longtext'
64
  data_type: 'longtext'
55
  is_nullable: 1
65
  is_nullable: 1
56
66
67
fourth line of vendor physical address
68
57
=head2 phone
69
=head2 phone
58
70
59
  data_type: 'varchar'
71
  data_type: 'varchar'
60
  is_nullable: 1
72
  is_nullable: 1
61
  size: 30
73
  size: 30
62
74
75
vendor phone number
76
63
=head2 accountnumber
77
=head2 accountnumber
64
78
65
  data_type: 'longtext'
79
  data_type: 'longtext'
66
  is_nullable: 1
80
  is_nullable: 1
67
81
82
vendor account number
83
68
=head2 notes
84
=head2 notes
69
85
70
  data_type: 'longtext'
86
  data_type: 'longtext'
71
  is_nullable: 1
87
  is_nullable: 1
72
88
89
order notes
90
73
=head2 postal
91
=head2 postal
74
92
75
  data_type: 'longtext'
93
  data_type: 'longtext'
76
  is_nullable: 1
94
  is_nullable: 1
77
95
96
vendor postal address (all lines)
97
78
=head2 url
98
=head2 url
79
99
80
  data_type: 'varchar'
100
  data_type: 'varchar'
81
  is_nullable: 1
101
  is_nullable: 1
82
  size: 255
102
  size: 255
83
103
104
vendor web address
105
84
=head2 active
106
=head2 active
85
107
86
  data_type: 'tinyint'
108
  data_type: 'tinyint'
87
  is_nullable: 1
109
  is_nullable: 1
88
110
111
is this vendor active (1 for yes, 0 for no)
112
89
=head2 listprice
113
=head2 listprice
90
114
91
  data_type: 'varchar'
115
  data_type: 'varchar'
Lines 93-98 __PACKAGE__->table("aqbooksellers"); Link Here
93
  is_nullable: 1
117
  is_nullable: 1
94
  size: 10
118
  size: 10
95
119
120
currency code for list prices
121
96
=head2 invoiceprice
122
=head2 invoiceprice
97
123
98
  data_type: 'varchar'
124
  data_type: 'varchar'
Lines 100-143 __PACKAGE__->table("aqbooksellers"); Link Here
100
  is_nullable: 1
126
  is_nullable: 1
101
  size: 10
127
  size: 10
102
128
129
currency code for invoice prices
130
103
=head2 gstreg
131
=head2 gstreg
104
132
105
  data_type: 'tinyint'
133
  data_type: 'tinyint'
106
  is_nullable: 1
134
  is_nullable: 1
107
135
136
is your library charged tax (1 for yes, 0 for no)
137
108
=head2 listincgst
138
=head2 listincgst
109
139
110
  data_type: 'tinyint'
140
  data_type: 'tinyint'
111
  is_nullable: 1
141
  is_nullable: 1
112
142
143
is tax included in list prices (1 for yes, 0 for no)
144
113
=head2 invoiceincgst
145
=head2 invoiceincgst
114
146
115
  data_type: 'tinyint'
147
  data_type: 'tinyint'
116
  is_nullable: 1
148
  is_nullable: 1
117
149
150
is tax included in invoice prices (1 for yes, 0 for no)
151
118
=head2 tax_rate
152
=head2 tax_rate
119
153
120
  data_type: 'decimal'
154
  data_type: 'decimal'
121
  is_nullable: 1
155
  is_nullable: 1
122
  size: [6,4]
156
  size: [6,4]
123
157
158
the tax rate the library is charged
159
124
=head2 discount
160
=head2 discount
125
161
126
  data_type: 'float'
162
  data_type: 'float'
127
  is_nullable: 1
163
  is_nullable: 1
128
  size: [6,4]
164
  size: [6,4]
129
165
166
discount offered on all items ordered from this vendor
167
130
=head2 fax
168
=head2 fax
131
169
132
  data_type: 'varchar'
170
  data_type: 'varchar'
133
  is_nullable: 1
171
  is_nullable: 1
134
  size: 50
172
  size: 50
135
173
174
vendor fax number
175
136
=head2 deliverytime
176
=head2 deliverytime
137
177
138
  data_type: 'integer'
178
  data_type: 'integer'
139
  is_nullable: 1
179
  is_nullable: 1
140
180
181
vendor delivery time
182
141
=cut
183
=cut
142
184
143
__PACKAGE__->add_columns(
185
__PACKAGE__->add_columns(
Lines 345-352 __PACKAGE__->has_many( Link Here
345
);
387
);
346
388
347
389
348
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-17 08:54:13
390
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
349
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1lSFcy25po9EBzkNkjL5UA
391
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rKz25TwTWSmdrEgVCrVbMQ
350
392
351
__PACKAGE__->add_columns(
393
__PACKAGE__->add_columns(
352
    '+active' => { is_boolean => 1 },
394
    '+active' => { is_boolean => 1 },
(-)a/Koha/Schema/Result/Aqbudget.pm (-2 / +32 lines)
Lines 29-57 __PACKAGE__->table("aqbudgets"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
primary key and unique number assigned to each fund by Koha
33
32
=head2 budget_parent_id
34
=head2 budget_parent_id
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_nullable: 1
37
  is_nullable: 1
36
38
39
if this fund is a child of another this will include the parent id (aqbudgets.budget_id)
40
37
=head2 budget_code
41
=head2 budget_code
38
42
39
  data_type: 'varchar'
43
  data_type: 'varchar'
40
  is_nullable: 1
44
  is_nullable: 1
41
  size: 30
45
  size: 30
42
46
47
code assigned to the fund by the user
48
43
=head2 budget_name
49
=head2 budget_name
44
50
45
  data_type: 'varchar'
51
  data_type: 'varchar'
46
  is_nullable: 1
52
  is_nullable: 1
47
  size: 80
53
  size: 80
48
54
55
name assigned to the fund by the user
56
49
=head2 budget_branchcode
57
=head2 budget_branchcode
50
58
51
  data_type: 'varchar'
59
  data_type: 'varchar'
52
  is_nullable: 1
60
  is_nullable: 1
53
  size: 10
61
  size: 10
54
62
63
branch that this fund belongs to (branches.branchcode)
64
55
=head2 budget_amount
65
=head2 budget_amount
56
66
57
  data_type: 'decimal'
67
  data_type: 'decimal'
Lines 59-64 __PACKAGE__->table("aqbudgets"); Link Here
59
  is_nullable: 1
69
  is_nullable: 1
60
  size: [28,6]
70
  size: [28,6]
61
71
72
total amount for this fund
73
62
=head2 budget_encumb
74
=head2 budget_encumb
63
75
64
  data_type: 'decimal'
76
  data_type: 'decimal'
Lines 66-71 __PACKAGE__->table("aqbudgets"); Link Here
66
  is_nullable: 1
78
  is_nullable: 1
67
  size: [28,6]
79
  size: [28,6]
68
80
81
budget warning at percentage
82
69
=head2 budget_expend
83
=head2 budget_expend
70
84
71
  data_type: 'decimal'
85
  data_type: 'decimal'
Lines 73-83 __PACKAGE__->table("aqbudgets"); Link Here
73
  is_nullable: 1
87
  is_nullable: 1
74
  size: [28,6]
88
  size: [28,6]
75
89
90
budget warning at amount
91
76
=head2 budget_notes
92
=head2 budget_notes
77
93
78
  data_type: 'longtext'
94
  data_type: 'longtext'
79
  is_nullable: 1
95
  is_nullable: 1
80
96
97
notes related to this fund
98
81
=head2 timestamp
99
=head2 timestamp
82
100
83
  data_type: 'timestamp'
101
  data_type: 'timestamp'
Lines 85-119 __PACKAGE__->table("aqbudgets"); Link Here
85
  default_value: current_timestamp
103
  default_value: current_timestamp
86
  is_nullable: 0
104
  is_nullable: 0
87
105
106
date and time this fund was last touched (created or modified)
107
88
=head2 budget_period_id
108
=head2 budget_period_id
89
109
90
  data_type: 'integer'
110
  data_type: 'integer'
91
  is_foreign_key: 1
111
  is_foreign_key: 1
92
  is_nullable: 1
112
  is_nullable: 1
93
113
114
id of the budget that this fund belongs to (aqbudgetperiods.budget_period_id)
115
94
=head2 sort1_authcat
116
=head2 sort1_authcat
95
117
96
  data_type: 'varchar'
118
  data_type: 'varchar'
97
  is_nullable: 1
119
  is_nullable: 1
98
  size: 80
120
  size: 80
99
121
122
statistical category for this fund
123
100
=head2 sort2_authcat
124
=head2 sort2_authcat
101
125
102
  data_type: 'varchar'
126
  data_type: 'varchar'
103
  is_nullable: 1
127
  is_nullable: 1
104
  size: 80
128
  size: 80
105
129
130
second statistical category for this fund
131
106
=head2 budget_owner_id
132
=head2 budget_owner_id
107
133
108
  data_type: 'integer'
134
  data_type: 'integer'
109
  is_nullable: 1
135
  is_nullable: 1
110
136
137
borrowernumber of the person who owns this fund (borrowers.borrowernumber)
138
111
=head2 budget_permission
139
=head2 budget_permission
112
140
113
  data_type: 'integer'
141
  data_type: 'integer'
114
  default_value: 0
142
  default_value: 0
115
  is_nullable: 1
143
  is_nullable: 1
116
144
145
level of permission for this fund (used only by the owner, only by the library, or anyone)
146
117
=cut
147
=cut
118
148
119
__PACKAGE__->add_columns(
149
__PACKAGE__->add_columns(
Lines 319-326 Composing rels: L</aqbudgetborrowers> -> borrowernumber Link Here
319
__PACKAGE__->many_to_many("borrowernumbers", "aqbudgetborrowers", "borrowernumber");
349
__PACKAGE__->many_to_many("borrowernumbers", "aqbudgetborrowers", "borrowernumber");
320
350
321
351
322
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-09-13 23:03:50
352
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
323
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kmzXRyD6aNqPr5C6u9GBHA
353
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vmww5X6TKh/6iWnXt+xc1w
324
354
325
__PACKAGE__->belongs_to(
355
__PACKAGE__->belongs_to(
326
  "budget",
356
  "budget",
(-)a/Koha/Schema/Result/Aqbudgetperiod.pm (-2 / +20 lines)
Lines 29-80 __PACKAGE__->table("aqbudgetperiods"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
primary key and unique number assigned by Koha
33
32
=head2 budget_period_startdate
34
=head2 budget_period_startdate
33
35
34
  data_type: 'date'
36
  data_type: 'date'
35
  datetime_undef_if_invalid: 1
37
  datetime_undef_if_invalid: 1
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
date when the budget starts
41
38
=head2 budget_period_enddate
42
=head2 budget_period_enddate
39
43
40
  data_type: 'date'
44
  data_type: 'date'
41
  datetime_undef_if_invalid: 1
45
  datetime_undef_if_invalid: 1
42
  is_nullable: 0
46
  is_nullable: 0
43
47
48
date when the budget ends
49
44
=head2 budget_period_active
50
=head2 budget_period_active
45
51
46
  data_type: 'tinyint'
52
  data_type: 'tinyint'
47
  default_value: 0
53
  default_value: 0
48
  is_nullable: 1
54
  is_nullable: 1
49
55
56
whether this budget is active or not (1 for yes, 0 for no)
57
50
=head2 budget_period_description
58
=head2 budget_period_description
51
59
52
  data_type: 'longtext'
60
  data_type: 'longtext'
53
  is_nullable: 1
61
  is_nullable: 1
54
62
63
description assigned to this budget
64
55
=head2 budget_period_total
65
=head2 budget_period_total
56
66
57
  data_type: 'decimal'
67
  data_type: 'decimal'
58
  is_nullable: 1
68
  is_nullable: 1
59
  size: [28,6]
69
  size: [28,6]
60
70
71
total amount available in this budget
72
61
=head2 budget_period_locked
73
=head2 budget_period_locked
62
74
63
  data_type: 'tinyint'
75
  data_type: 'tinyint'
64
  is_nullable: 1
76
  is_nullable: 1
65
77
78
whether this budget is locked or not (1 for yes, 0 for no)
79
66
=head2 sort1_authcat
80
=head2 sort1_authcat
67
81
68
  data_type: 'varchar'
82
  data_type: 'varchar'
69
  is_nullable: 1
83
  is_nullable: 1
70
  size: 10
84
  size: 10
71
85
86
statistical category for this budget
87
72
=head2 sort2_authcat
88
=head2 sort2_authcat
73
89
74
  data_type: 'varchar'
90
  data_type: 'varchar'
75
  is_nullable: 1
91
  is_nullable: 1
76
  size: 10
92
  size: 10
77
93
94
second statistical category for this budget
95
78
=cut
96
=cut
79
97
80
__PACKAGE__->add_columns(
98
__PACKAGE__->add_columns(
Lines 128-135 __PACKAGE__->has_many( Link Here
128
);
146
);
129
147
130
148
131
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-09-13 23:03:50
149
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
132
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0xS/Pc8hoKlNKfW9zDd4Gg
150
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hWHx+2tHfiRhRqj3YchPnw
133
151
134
sub koha_object_class {
152
sub koha_object_class {
135
    'Koha::Acquisition::Budget';
153
    'Koha::Acquisition::Budget';
(-)a/Koha/Schema/Result/Aqcontact.pm (-2 / +28 lines)
Lines 29-105 __PACKAGE__->table("aqcontacts"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
primary key and unique number assigned by Koha
33
32
=head2 name
34
=head2 name
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
35
  is_nullable: 1
37
  is_nullable: 1
36
  size: 100
38
  size: 100
37
39
40
name of contact at vendor
41
38
=head2 position
42
=head2 position
39
43
40
  data_type: 'varchar'
44
  data_type: 'varchar'
41
  is_nullable: 1
45
  is_nullable: 1
42
  size: 100
46
  size: 100
43
47
48
contact person's position
49
44
=head2 phone
50
=head2 phone
45
51
46
  data_type: 'varchar'
52
  data_type: 'varchar'
47
  is_nullable: 1
53
  is_nullable: 1
48
  size: 100
54
  size: 100
49
55
56
contact's phone number
57
50
=head2 altphone
58
=head2 altphone
51
59
52
  data_type: 'varchar'
60
  data_type: 'varchar'
53
  is_nullable: 1
61
  is_nullable: 1
54
  size: 100
62
  size: 100
55
63
64
contact's alternate phone number
65
56
=head2 fax
66
=head2 fax
57
67
58
  data_type: 'varchar'
68
  data_type: 'varchar'
59
  is_nullable: 1
69
  is_nullable: 1
60
  size: 100
70
  size: 100
61
71
72
contact's fax number
73
62
=head2 email
74
=head2 email
63
75
64
  data_type: 'varchar'
76
  data_type: 'varchar'
65
  is_nullable: 1
77
  is_nullable: 1
66
  size: 100
78
  size: 100
67
79
80
contact's email address
81
68
=head2 notes
82
=head2 notes
69
83
70
  data_type: 'longtext'
84
  data_type: 'longtext'
71
  is_nullable: 1
85
  is_nullable: 1
72
86
87
notes related to the contact
88
73
=head2 orderacquisition
89
=head2 orderacquisition
74
90
75
  data_type: 'tinyint'
91
  data_type: 'tinyint'
76
  default_value: 0
92
  default_value: 0
77
  is_nullable: 0
93
  is_nullable: 0
78
94
95
should this contact receive acquisition orders
96
79
=head2 claimacquisition
97
=head2 claimacquisition
80
98
81
  data_type: 'tinyint'
99
  data_type: 'tinyint'
82
  default_value: 0
100
  default_value: 0
83
  is_nullable: 0
101
  is_nullable: 0
84
102
103
should this contact receive acquisitions claims
104
85
=head2 claimissues
105
=head2 claimissues
86
106
87
  data_type: 'tinyint'
107
  data_type: 'tinyint'
88
  default_value: 0
108
  default_value: 0
89
  is_nullable: 0
109
  is_nullable: 0
90
110
111
should this contact receive serial claims
112
91
=head2 acqprimary
113
=head2 acqprimary
92
114
93
  data_type: 'tinyint'
115
  data_type: 'tinyint'
94
  default_value: 0
116
  default_value: 0
95
  is_nullable: 0
117
  is_nullable: 0
96
118
119
is this the primary contact for acquisitions messages
120
97
=head2 serialsprimary
121
=head2 serialsprimary
98
122
99
  data_type: 'tinyint'
123
  data_type: 'tinyint'
100
  default_value: 0
124
  default_value: 0
101
  is_nullable: 0
125
  is_nullable: 0
102
126
127
is this the primary contact for serials messages
128
103
=head2 booksellerid
129
=head2 booksellerid
104
130
105
  data_type: 'integer'
131
  data_type: 'integer'
Lines 169-176 __PACKAGE__->belongs_to( Link Here
169
);
195
);
170
196
171
197
172
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
198
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
173
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:R2x8Z9Db2oDULEODgLuw8Q
199
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:O7JzmE0CiJ7iDfvyCi4QrA
174
200
175
__PACKAGE__->add_columns(
201
__PACKAGE__->add_columns(
176
    '+orderacquisition' => { is_boolean => 1 },
202
    '+orderacquisition' => { is_boolean => 1 },
(-)a/Koha/Schema/Result/Aqinvoice.pm (-2 / +20 lines)
Lines 29-81 __PACKAGE__->table("aqinvoices"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
ID of the invoice, primary key
33
32
=head2 invoicenumber
34
=head2 invoicenumber
33
35
34
  data_type: 'longtext'
36
  data_type: 'longtext'
35
  is_nullable: 0
37
  is_nullable: 0
36
38
39
Name of invoice
40
37
=head2 booksellerid
41
=head2 booksellerid
38
42
39
  data_type: 'integer'
43
  data_type: 'integer'
40
  is_foreign_key: 1
44
  is_foreign_key: 1
41
  is_nullable: 0
45
  is_nullable: 0
42
46
47
foreign key to aqbooksellers
48
43
=head2 shipmentdate
49
=head2 shipmentdate
44
50
45
  data_type: 'date'
51
  data_type: 'date'
46
  datetime_undef_if_invalid: 1
52
  datetime_undef_if_invalid: 1
47
  is_nullable: 1
53
  is_nullable: 1
48
54
55
date of shipment
56
49
=head2 billingdate
57
=head2 billingdate
50
58
51
  data_type: 'date'
59
  data_type: 'date'
52
  datetime_undef_if_invalid: 1
60
  datetime_undef_if_invalid: 1
53
  is_nullable: 1
61
  is_nullable: 1
54
62
63
date of billing
64
55
=head2 closedate
65
=head2 closedate
56
66
57
  data_type: 'date'
67
  data_type: 'date'
58
  datetime_undef_if_invalid: 1
68
  datetime_undef_if_invalid: 1
59
  is_nullable: 1
69
  is_nullable: 1
60
70
71
invoice close date, NULL means the invoice is open
72
61
=head2 shipmentcost
73
=head2 shipmentcost
62
74
63
  data_type: 'decimal'
75
  data_type: 'decimal'
64
  is_nullable: 1
76
  is_nullable: 1
65
  size: [28,6]
77
  size: [28,6]
66
78
79
shipment cost
80
67
=head2 shipmentcost_budgetid
81
=head2 shipmentcost_budgetid
68
82
69
  data_type: 'integer'
83
  data_type: 'integer'
70
  is_foreign_key: 1
84
  is_foreign_key: 1
71
  is_nullable: 1
85
  is_nullable: 1
72
86
87
foreign key to aqbudgets, link the shipment cost to a budget
88
73
=head2 message_id
89
=head2 message_id
74
90
75
  data_type: 'integer'
91
  data_type: 'integer'
76
  is_foreign_key: 1
92
  is_foreign_key: 1
77
  is_nullable: 1
93
  is_nullable: 1
78
94
95
foreign key to edifact invoice message
96
79
=cut
97
=cut
80
98
81
__PACKAGE__->add_columns(
99
__PACKAGE__->add_columns(
Lines 199-206 __PACKAGE__->belongs_to( Link Here
199
);
217
);
200
218
201
219
202
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-07-16 13:50:45
220
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
203
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mpdxTbkz/8WInG5Wp4q7Ug
221
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jOZUccjnTE+Tzd3ivMs6Uw
204
222
205
sub koha_object_class {
223
sub koha_object_class {
206
    'Koha::Acquisition::Invoice';
224
    'Koha::Acquisition::Invoice';
(-)a/Koha/Schema/Result/AqinvoiceAdjustment.pm (-2 / +18 lines)
Lines 29-69 __PACKAGE__->table("aqinvoice_adjustments"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
primary key for adjustments
33
32
=head2 invoiceid
34
=head2 invoiceid
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
foreign key to link an adjustment to an invoice
41
38
=head2 adjustment
42
=head2 adjustment
39
43
40
  data_type: 'decimal'
44
  data_type: 'decimal'
41
  is_nullable: 1
45
  is_nullable: 1
42
  size: [28,6]
46
  size: [28,6]
43
47
48
amount of adjustment
49
44
=head2 reason
50
=head2 reason
45
51
46
  data_type: 'varchar'
52
  data_type: 'varchar'
47
  is_nullable: 1
53
  is_nullable: 1
48
  size: 80
54
  size: 80
49
55
56
reason for adjustment defined by authorised values in ADJ_REASON category
57
50
=head2 note
58
=head2 note
51
59
52
  data_type: 'mediumtext'
60
  data_type: 'mediumtext'
53
  is_nullable: 1
61
  is_nullable: 1
54
62
63
text to explain adjustment
64
55
=head2 budget_id
65
=head2 budget_id
56
66
57
  data_type: 'integer'
67
  data_type: 'integer'
58
  is_foreign_key: 1
68
  is_foreign_key: 1
59
  is_nullable: 1
69
  is_nullable: 1
60
70
71
optional link to budget to apply adjustment to
72
61
=head2 encumber_open
73
=head2 encumber_open
62
74
63
  data_type: 'smallint'
75
  data_type: 'smallint'
64
  default_value: 1
76
  default_value: 1
65
  is_nullable: 0
77
  is_nullable: 0
66
78
79
whether or not to encumber the funds when invoice is still open, 1 = yes, 0 = no
80
67
=head2 timestamp
81
=head2 timestamp
68
82
69
  data_type: 'timestamp'
83
  data_type: 'timestamp'
Lines 71-76 __PACKAGE__->table("aqinvoice_adjustments"); Link Here
71
  default_value: current_timestamp
85
  default_value: current_timestamp
72
  is_nullable: 0
86
  is_nullable: 0
73
87
88
timestamp  of last adjustment to adjustment
89
74
=cut
90
=cut
75
91
76
__PACKAGE__->add_columns(
92
__PACKAGE__->add_columns(
Lines 147-154 __PACKAGE__->belongs_to( Link Here
147
);
163
);
148
164
149
165
150
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-07-19 17:32:57
166
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
151
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jl0qxkZWVs2D1pi3kaRjpg
167
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:L3lnMcRFhpTnAJCNPfZ45g
152
168
153
sub koha_object_class {
169
sub koha_object_class {
154
    'Koha::Acquisition::Invoice::Adjustment';
170
    'Koha::Acquisition::Invoice::Adjustment';
(-)a/Koha/Schema/Result/Aqorder.pm (-2 / +96 lines)
Lines 29-51 __PACKAGE__->table("aqorders"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
primary key and unique identifier assigned by Koha to each line
33
32
=head2 biblionumber
34
=head2 biblionumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 1
38
  is_nullable: 1
37
39
40
links the order to the biblio being ordered (biblio.biblionumber)
41
38
=head2 entrydate
42
=head2 entrydate
39
43
40
  data_type: 'date'
44
  data_type: 'date'
41
  datetime_undef_if_invalid: 1
45
  datetime_undef_if_invalid: 1
42
  is_nullable: 1
46
  is_nullable: 1
43
47
48
the date the bib was added to the basket
49
44
=head2 quantity
50
=head2 quantity
45
51
46
  data_type: 'smallint'
52
  data_type: 'smallint'
47
  is_nullable: 1
53
  is_nullable: 1
48
54
55
the quantity ordered
56
49
=head2 currency
57
=head2 currency
50
58
51
  data_type: 'varchar'
59
  data_type: 'varchar'
Lines 53-144 __PACKAGE__->table("aqorders"); Link Here
53
  is_nullable: 1
61
  is_nullable: 1
54
  size: 10
62
  size: 10
55
63
64
the currency used for the purchase
65
56
=head2 listprice
66
=head2 listprice
57
67
58
  data_type: 'decimal'
68
  data_type: 'decimal'
59
  is_nullable: 1
69
  is_nullable: 1
60
  size: [28,6]
70
  size: [28,6]
61
71
72
the vendor price for this line item
73
62
=head2 datereceived
74
=head2 datereceived
63
75
64
  data_type: 'date'
76
  data_type: 'date'
65
  datetime_undef_if_invalid: 1
77
  datetime_undef_if_invalid: 1
66
  is_nullable: 1
78
  is_nullable: 1
67
79
80
the date this order was received
81
68
=head2 invoiceid
82
=head2 invoiceid
69
83
70
  data_type: 'integer'
84
  data_type: 'integer'
71
  is_foreign_key: 1
85
  is_foreign_key: 1
72
  is_nullable: 1
86
  is_nullable: 1
73
87
88
id of invoice
89
74
=head2 freight
90
=head2 freight
75
91
76
  data_type: 'decimal'
92
  data_type: 'decimal'
77
  is_nullable: 1
93
  is_nullable: 1
78
  size: [28,6]
94
  size: [28,6]
79
95
96
shipping costs (not used)
97
80
=head2 unitprice
98
=head2 unitprice
81
99
82
  data_type: 'decimal'
100
  data_type: 'decimal'
83
  is_nullable: 1
101
  is_nullable: 1
84
  size: [28,6]
102
  size: [28,6]
85
103
104
the actual cost entered when receiving this line item
105
86
=head2 unitprice_tax_excluded
106
=head2 unitprice_tax_excluded
87
107
88
  data_type: 'decimal'
108
  data_type: 'decimal'
89
  is_nullable: 1
109
  is_nullable: 1
90
  size: [28,6]
110
  size: [28,6]
91
111
112
the unit price excluding tax (on receiving)
113
92
=head2 unitprice_tax_included
114
=head2 unitprice_tax_included
93
115
94
  data_type: 'decimal'
116
  data_type: 'decimal'
95
  is_nullable: 1
117
  is_nullable: 1
96
  size: [28,6]
118
  size: [28,6]
97
119
120
the unit price including tax (on receiving)
121
98
=head2 quantityreceived
122
=head2 quantityreceived
99
123
100
  data_type: 'smallint'
124
  data_type: 'smallint'
101
  default_value: 0
125
  default_value: 0
102
  is_nullable: 0
126
  is_nullable: 0
103
127
128
the quantity that have been received so far
129
104
=head2 created_by
130
=head2 created_by
105
131
106
  data_type: 'integer'
132
  data_type: 'integer'
107
  is_foreign_key: 1
133
  is_foreign_key: 1
108
  is_nullable: 1
134
  is_nullable: 1
109
135
136
the borrowernumber of order line's creator
137
110
=head2 datecancellationprinted
138
=head2 datecancellationprinted
111
139
112
  data_type: 'date'
140
  data_type: 'date'
113
  datetime_undef_if_invalid: 1
141
  datetime_undef_if_invalid: 1
114
  is_nullable: 1
142
  is_nullable: 1
115
143
144
the date the line item was deleted
145
116
=head2 cancellationreason
146
=head2 cancellationreason
117
147
118
  data_type: 'mediumtext'
148
  data_type: 'mediumtext'
119
  is_nullable: 1
149
  is_nullable: 1
120
150
151
reason of cancellation
152
121
=head2 order_internalnote
153
=head2 order_internalnote
122
154
123
  data_type: 'longtext'
155
  data_type: 'longtext'
124
  is_nullable: 1
156
  is_nullable: 1
125
157
158
notes related to this order line, made for staff
159
126
=head2 order_vendornote
160
=head2 order_vendornote
127
161
128
  data_type: 'longtext'
162
  data_type: 'longtext'
129
  is_nullable: 1
163
  is_nullable: 1
130
164
165
notes related to this order line, made for vendor
166
131
=head2 purchaseordernumber
167
=head2 purchaseordernumber
132
168
133
  data_type: 'longtext'
169
  data_type: 'longtext'
134
  is_nullable: 1
170
  is_nullable: 1
135
171
172
not used? always NULL
173
136
=head2 basketno
174
=head2 basketno
137
175
138
  data_type: 'integer'
176
  data_type: 'integer'
139
  is_foreign_key: 1
177
  is_foreign_key: 1
140
  is_nullable: 1
178
  is_nullable: 1
141
179
180
links this order line to a specific basket (aqbasket.basketno)
181
142
=head2 timestamp
182
=head2 timestamp
143
183
144
  data_type: 'timestamp'
184
  data_type: 'timestamp'
Lines 146-259 __PACKAGE__->table("aqorders"); Link Here
146
  default_value: current_timestamp
186
  default_value: current_timestamp
147
  is_nullable: 0
187
  is_nullable: 0
148
188
189
the date and time this order line was last modified
190
149
=head2 rrp
191
=head2 rrp
150
192
151
  data_type: 'decimal'
193
  data_type: 'decimal'
152
  is_nullable: 1
194
  is_nullable: 1
153
  size: [13,2]
195
  size: [13,2]
154
196
197
the retail cost for this line item
198
155
=head2 replacementprice
199
=head2 replacementprice
156
200
157
  data_type: 'decimal'
201
  data_type: 'decimal'
158
  is_nullable: 1
202
  is_nullable: 1
159
  size: [28,6]
203
  size: [28,6]
160
204
205
the replacement cost for this line item
206
161
=head2 rrp_tax_excluded
207
=head2 rrp_tax_excluded
162
208
163
  data_type: 'decimal'
209
  data_type: 'decimal'
164
  is_nullable: 1
210
  is_nullable: 1
165
  size: [28,6]
211
  size: [28,6]
166
212
213
the replacement cost excluding tax
214
167
=head2 rrp_tax_included
215
=head2 rrp_tax_included
168
216
169
  data_type: 'decimal'
217
  data_type: 'decimal'
170
  is_nullable: 1
218
  is_nullable: 1
171
  size: [28,6]
219
  size: [28,6]
172
220
221
the replacement cost including tax
222
173
=head2 ecost
223
=head2 ecost
174
224
175
  data_type: 'decimal'
225
  data_type: 'decimal'
176
  is_nullable: 1
226
  is_nullable: 1
177
  size: [13,2]
227
  size: [13,2]
178
228
229
the replacement cost for this line item
230
179
=head2 ecost_tax_excluded
231
=head2 ecost_tax_excluded
180
232
181
  data_type: 'decimal'
233
  data_type: 'decimal'
182
  is_nullable: 1
234
  is_nullable: 1
183
  size: [28,6]
235
  size: [28,6]
184
236
237
the estimated cost excluding tax
238
185
=head2 ecost_tax_included
239
=head2 ecost_tax_included
186
240
187
  data_type: 'decimal'
241
  data_type: 'decimal'
188
  is_nullable: 1
242
  is_nullable: 1
189
  size: [28,6]
243
  size: [28,6]
190
244
245
the estimated cost including tax
246
191
=head2 tax_rate_bak
247
=head2 tax_rate_bak
192
248
193
  data_type: 'decimal'
249
  data_type: 'decimal'
194
  is_nullable: 1
250
  is_nullable: 1
195
  size: [6,4]
251
  size: [6,4]
196
252
253
the tax rate for this line item (%)
254
197
=head2 tax_rate_on_ordering
255
=head2 tax_rate_on_ordering
198
256
199
  data_type: 'decimal'
257
  data_type: 'decimal'
200
  is_nullable: 1
258
  is_nullable: 1
201
  size: [6,4]
259
  size: [6,4]
202
260
261
the tax rate on ordering for this line item (%)
262
203
=head2 tax_rate_on_receiving
263
=head2 tax_rate_on_receiving
204
264
205
  data_type: 'decimal'
265
  data_type: 'decimal'
206
  is_nullable: 1
266
  is_nullable: 1
207
  size: [6,4]
267
  size: [6,4]
208
268
269
the tax rate on receiving for this line item (%)
270
209
=head2 tax_value_bak
271
=head2 tax_value_bak
210
272
211
  data_type: 'decimal'
273
  data_type: 'decimal'
212
  is_nullable: 1
274
  is_nullable: 1
213
  size: [28,6]
275
  size: [28,6]
214
276
277
the tax value for this line item
278
215
=head2 tax_value_on_ordering
279
=head2 tax_value_on_ordering
216
280
217
  data_type: 'decimal'
281
  data_type: 'decimal'
218
  is_nullable: 1
282
  is_nullable: 1
219
  size: [28,6]
283
  size: [28,6]
220
284
285
the tax value on ordering for this line item
286
221
=head2 tax_value_on_receiving
287
=head2 tax_value_on_receiving
222
288
223
  data_type: 'decimal'
289
  data_type: 'decimal'
224
  is_nullable: 1
290
  is_nullable: 1
225
  size: [28,6]
291
  size: [28,6]
226
292
293
the tax value on receiving for this line item
294
227
=head2 discount
295
=head2 discount
228
296
229
  data_type: 'float'
297
  data_type: 'float'
230
  is_nullable: 1
298
  is_nullable: 1
231
  size: [6,4]
299
  size: [6,4]
232
300
301
the discount for this line item (%)
302
233
=head2 budget_id
303
=head2 budget_id
234
304
235
  data_type: 'integer'
305
  data_type: 'integer'
236
  is_foreign_key: 1
306
  is_foreign_key: 1
237
  is_nullable: 0
307
  is_nullable: 0
238
308
309
the fund this order goes against (aqbudgets.budget_id)
310
239
=head2 budgetdate
311
=head2 budgetdate
240
312
241
  data_type: 'date'
313
  data_type: 'date'
242
  datetime_undef_if_invalid: 1
314
  datetime_undef_if_invalid: 1
243
  is_nullable: 1
315
  is_nullable: 1
244
316
317
not used? always NULL
318
245
=head2 sort1
319
=head2 sort1
246
320
247
  data_type: 'varchar'
321
  data_type: 'varchar'
248
  is_nullable: 1
322
  is_nullable: 1
249
  size: 80
323
  size: 80
250
324
325
statistical field
326
251
=head2 sort2
327
=head2 sort2
252
328
253
  data_type: 'varchar'
329
  data_type: 'varchar'
254
  is_nullable: 1
330
  is_nullable: 1
255
  size: 80
331
  size: 80
256
332
333
second statistical field
334
257
=head2 sort1_authcat
335
=head2 sort1_authcat
258
336
259
  data_type: 'varchar'
337
  data_type: 'varchar'
Lines 271-287 __PACKAGE__->table("aqorders"); Link Here
271
  data_type: 'tinyint'
349
  data_type: 'tinyint'
272
  is_nullable: 1
350
  is_nullable: 1
273
351
352
was this price uncertain (1 for yes, 0 for no)
353
274
=head2 subscriptionid
354
=head2 subscriptionid
275
355
276
  data_type: 'integer'
356
  data_type: 'integer'
277
  is_foreign_key: 1
357
  is_foreign_key: 1
278
  is_nullable: 1
358
  is_nullable: 1
279
359
360
links this order line to a subscription (subscription.subscriptionid)
361
280
=head2 parent_ordernumber
362
=head2 parent_ordernumber
281
363
282
  data_type: 'integer'
364
  data_type: 'integer'
283
  is_nullable: 1
365
  is_nullable: 1
284
366
367
ordernumber of parent order line, or same as ordernumber if no parent
368
285
=head2 orderstatus
369
=head2 orderstatus
286
370
287
  data_type: 'varchar'
371
  data_type: 'varchar'
Lines 289-317 __PACKAGE__->table("aqorders"); Link Here
289
  is_nullable: 1
373
  is_nullable: 1
290
  size: 16
374
  size: 16
291
375
376
the current status for this line item. Can be 'new', 'ordered', 'partial', 'complete' or 'cancelled'
377
292
=head2 line_item_id
378
=head2 line_item_id
293
379
294
  data_type: 'varchar'
380
  data_type: 'varchar'
295
  is_nullable: 1
381
  is_nullable: 1
296
  size: 35
382
  size: 35
297
383
384
Supplier's article id for Edifact orderline
385
298
=head2 suppliers_reference_number
386
=head2 suppliers_reference_number
299
387
300
  data_type: 'varchar'
388
  data_type: 'varchar'
301
  is_nullable: 1
389
  is_nullable: 1
302
  size: 35
390
  size: 35
303
391
392
Suppliers unique edifact quote ref
393
304
=head2 suppliers_reference_qualifier
394
=head2 suppliers_reference_qualifier
305
395
306
  data_type: 'varchar'
396
  data_type: 'varchar'
307
  is_nullable: 1
397
  is_nullable: 1
308
  size: 3
398
  size: 3
309
399
400
Type of number above usually 'QLI'
401
310
=head2 suppliers_report
402
=head2 suppliers_report
311
403
312
  data_type: 'mediumtext'
404
  data_type: 'mediumtext'
313
  is_nullable: 1
405
  is_nullable: 1
314
406
407
reports received from suppliers
408
315
=cut
409
=cut
316
410
317
__PACKAGE__->add_columns(
411
__PACKAGE__->add_columns(
Lines 660-667 Composing rels: L</aqorder_users> -> borrowernumber Link Here
660
__PACKAGE__->many_to_many("borrowernumbers", "aqorder_users", "borrowernumber");
754
__PACKAGE__->many_to_many("borrowernumbers", "aqorder_users", "borrowernumber");
661
755
662
756
663
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-05-04 08:25:41
757
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
664
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Pf6reFaSldsjIA6XThbDFA
758
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TfwIBYIVTqp9qOqenaoHxQ
665
759
666
__PACKAGE__->belongs_to(
760
__PACKAGE__->belongs_to(
667
  "basket",
761
  "basket",
(-)a/Koha/Schema/Result/AqorderUser.pm (-2 / +6 lines)
Lines 29-40 __PACKAGE__->table("aqorder_users"); Link Here
29
  is_foreign_key: 1
29
  is_foreign_key: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
the order this patrons receive notifications from (aqorders.ordernumber)
33
32
=head2 borrowernumber
34
=head2 borrowernumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
the borrowernumber for the patron receiving notifications for this order (borrowers.borrowernumber)
41
38
=cut
42
=cut
39
43
40
__PACKAGE__->add_columns(
44
__PACKAGE__->add_columns(
Lines 91-98 __PACKAGE__->belongs_to( Link Here
91
);
95
);
92
96
93
97
94
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-03-11 11:50:38
98
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
95
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6mhRlYUeJnpQIJ2P9WTbHQ
99
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BHsb47cCXXZ1LO4vMV0T2g
96
100
97
101
98
# You can replace this text with custom code or comments, and it will be preserved on regeneration
102
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/AqordersClaim.pm (-2 / +8 lines)
Lines 29-40 __PACKAGE__->table("aqorders_claims"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
ID of the claims
33
32
=head2 ordernumber
34
=head2 ordernumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
order linked to this claim
41
38
=head2 claimed_on
42
=head2 claimed_on
39
43
40
  data_type: 'timestamp'
44
  data_type: 'timestamp'
Lines 42-47 __PACKAGE__->table("aqorders_claims"); Link Here
42
  default_value: current_timestamp
46
  default_value: current_timestamp
43
  is_nullable: 0
47
  is_nullable: 0
44
48
49
Date of the claims
50
45
=cut
51
=cut
46
52
47
__PACKAGE__->add_columns(
53
__PACKAGE__->add_columns(
Lines 88-95 __PACKAGE__->belongs_to( Link Here
88
);
94
);
89
95
90
96
91
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-05-04 08:25:41
97
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
92
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YHD9b6rUAPUM5HzFg4k9Wg
98
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cDtOodtFZfM/s/1DA/RFWA
93
99
94
sub koha_object_class {
100
sub koha_object_class {
95
    'Koha::Acquisition::Order::Claim';
101
    'Koha::Acquisition::Order::Claim';
(-)a/Koha/Schema/Result/AqordersItem.pm (-2 / +8 lines)
Lines 29-39 __PACKAGE__->table("aqorders_items"); Link Here
29
  is_foreign_key: 1
29
  is_foreign_key: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
the order this item is attached to (aqorders.ordernumber)
33
32
=head2 itemnumber
34
=head2 itemnumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_nullable: 0
37
  is_nullable: 0
36
38
39
the item number for this item (items.itemnumber)
40
37
=head2 timestamp
41
=head2 timestamp
38
42
39
  data_type: 'timestamp'
43
  data_type: 'timestamp'
Lines 41-46 __PACKAGE__->table("aqorders_items"); Link Here
41
  default_value: current_timestamp
45
  default_value: current_timestamp
42
  is_nullable: 0
46
  is_nullable: 0
43
47
48
the date and time this order item was last touched
49
44
=cut
50
=cut
45
51
46
__PACKAGE__->add_columns(
52
__PACKAGE__->add_columns(
Lines 87-94 __PACKAGE__->belongs_to( Link Here
87
);
93
);
88
94
89
95
90
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
96
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
91
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hvDuLTY3idYc1ujykNDrPQ
97
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:K/7cgnLhY6csXVYfo2rtkw
92
98
93
99
94
# You can replace this text with custom content, and it will be preserved on regeneration
100
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/ArticleRequest.pm (-2 / +4 lines)
Lines 112-117 __PACKAGE__->table("article_requests"); Link Here
112
  datetime_undef_if_invalid: 1
112
  datetime_undef_if_invalid: 1
113
  is_nullable: 1
113
  is_nullable: 1
114
114
115
Be careful with two timestamps in one table not allowing NULL
116
115
=head2 updated_on
117
=head2 updated_on
116
118
117
  data_type: 'timestamp'
119
  data_type: 'timestamp'
Lines 257-264 __PACKAGE__->belongs_to( Link Here
257
);
259
);
258
260
259
261
260
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-02 09:44:27
262
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
261
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Dhz1mVI7Z/6ibqaBZkPvUA
263
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5gT5YreB/oDegz6Lgo8/xA
262
264
263
265
264
# You can replace this text with custom code or comments, and it will be preserved on regeneration
266
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/AuthorisedValue.pm (-2 / +14 lines)
Lines 29-34 __PACKAGE__->table("authorised_values"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
unique key, used to identify the authorized value
33
32
=head2 category
34
=head2 category
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
Lines 37-42 __PACKAGE__->table("authorised_values"); Link Here
37
  is_nullable: 0
39
  is_nullable: 0
38
  size: 32
40
  size: 32
39
41
42
key used to identify the authorized value category
43
40
=head2 authorised_value
44
=head2 authorised_value
41
45
42
  data_type: 'varchar'
46
  data_type: 'varchar'
Lines 44-67 __PACKAGE__->table("authorised_values"); Link Here
44
  is_nullable: 0
48
  is_nullable: 0
45
  size: 80
49
  size: 80
46
50
51
code use to identify the authorized value
52
47
=head2 lib
53
=head2 lib
48
54
49
  data_type: 'varchar'
55
  data_type: 'varchar'
50
  is_nullable: 1
56
  is_nullable: 1
51
  size: 200
57
  size: 200
52
58
59
authorized value description as printed in the staff interface
60
53
=head2 lib_opac
61
=head2 lib_opac
54
62
55
  data_type: 'varchar'
63
  data_type: 'varchar'
56
  is_nullable: 1
64
  is_nullable: 1
57
  size: 200
65
  size: 200
58
66
67
authorized value description as printed in the OPAC
68
59
=head2 imageurl
69
=head2 imageurl
60
70
61
  data_type: 'varchar'
71
  data_type: 'varchar'
62
  is_nullable: 1
72
  is_nullable: 1
63
  size: 200
73
  size: 200
64
74
75
authorized value URL
76
65
=cut
77
=cut
66
78
67
__PACKAGE__->add_columns(
79
__PACKAGE__->add_columns(
Lines 161-168 __PACKAGE__->has_many( Link Here
161
);
173
);
162
174
163
175
164
# Created by DBIx::Class::Schema::Loader v0.07048 @ 2020-04-07 11:23:19
176
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
165
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6MjWlDqdpIOwsJlyjQawAg
177
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mhh5q7kqI+gH2sbu8y9uQA
166
178
167
179
168
# You can replace this text with custom code or comments, and it will be preserved on regeneration
180
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Biblio.pm (-2 / +32 lines)
Lines 29-34 __PACKAGE__->table("biblio"); 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 bibliographic record
33
32
=head2 frameworkcode
34
=head2 frameworkcode
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
Lines 36-86 __PACKAGE__->table("biblio"); Link Here
36
  is_nullable: 0
38
  is_nullable: 0
37
  size: 4
39
  size: 4
38
40
41
foreign key from the biblio_framework table to identify which framework was used in cataloging this record
42
39
=head2 author
43
=head2 author
40
44
41
  data_type: 'longtext'
45
  data_type: 'longtext'
42
  is_nullable: 1
46
  is_nullable: 1
43
47
48
statement of responsibility from MARC record (100$a in MARC21)
49
44
=head2 title
50
=head2 title
45
51
46
  data_type: 'longtext'
52
  data_type: 'longtext'
47
  is_nullable: 1
53
  is_nullable: 1
48
54
55
title (without the subtitle) from the MARC record (245$a in MARC21)
56
49
=head2 medium
57
=head2 medium
50
58
51
  data_type: 'longtext'
59
  data_type: 'longtext'
52
  is_nullable: 1
60
  is_nullable: 1
53
61
62
medium from the MARC record (245$h in MARC21)
63
54
=head2 subtitle
64
=head2 subtitle
55
65
56
  data_type: 'longtext'
66
  data_type: 'longtext'
57
  is_nullable: 1
67
  is_nullable: 1
58
68
69
remainder of the title from the MARC record (245$b in MARC21)
70
59
=head2 part_number
71
=head2 part_number
60
72
61
  data_type: 'longtext'
73
  data_type: 'longtext'
62
  is_nullable: 1
74
  is_nullable: 1
63
75
76
part number from the MARC record (245$n in MARC21)
77
64
=head2 part_name
78
=head2 part_name
65
79
66
  data_type: 'longtext'
80
  data_type: 'longtext'
67
  is_nullable: 1
81
  is_nullable: 1
68
82
83
part name from the MARC record (245$p in MARC21)
84
69
=head2 unititle
85
=head2 unititle
70
86
71
  data_type: 'longtext'
87
  data_type: 'longtext'
72
  is_nullable: 1
88
  is_nullable: 1
73
89
90
uniform title (without the subtitle) from the MARC record (240$a in MARC21)
91
74
=head2 notes
92
=head2 notes
75
93
76
  data_type: 'longtext'
94
  data_type: 'longtext'
77
  is_nullable: 1
95
  is_nullable: 1
78
96
97
values from the general notes field in the MARC record (500$a in MARC21) split by bar (|)
98
79
=head2 serial
99
=head2 serial
80
100
81
  data_type: 'tinyint'
101
  data_type: 'tinyint'
82
  is_nullable: 1
102
  is_nullable: 1
83
103
104
Boolean indicating whether biblio is for a serial
105
84
=head2 seriestitle
106
=head2 seriestitle
85
107
86
  data_type: 'longtext'
108
  data_type: 'longtext'
Lines 91-96 __PACKAGE__->table("biblio"); Link Here
91
  data_type: 'smallint'
113
  data_type: 'smallint'
92
  is_nullable: 1
114
  is_nullable: 1
93
115
116
publication or copyright date from the MARC record
117
94
=head2 timestamp
118
=head2 timestamp
95
119
96
  data_type: 'timestamp'
120
  data_type: 'timestamp'
Lines 98-114 __PACKAGE__->table("biblio"); Link Here
98
  default_value: current_timestamp
122
  default_value: current_timestamp
99
  is_nullable: 0
123
  is_nullable: 0
100
124
125
date and time this record was last touched
126
101
=head2 datecreated
127
=head2 datecreated
102
128
103
  data_type: 'date'
129
  data_type: 'date'
104
  datetime_undef_if_invalid: 1
130
  datetime_undef_if_invalid: 1
105
  is_nullable: 0
131
  is_nullable: 0
106
132
133
the date this record was added to Koha
134
107
=head2 abstract
135
=head2 abstract
108
136
109
  data_type: 'longtext'
137
  data_type: 'longtext'
110
  is_nullable: 1
138
  is_nullable: 1
111
139
140
summary from the MARC record (520$a in MARC21)
141
112
=cut
142
=cut
113
143
114
__PACKAGE__->add_columns(
144
__PACKAGE__->add_columns(
Lines 451-458 __PACKAGE__->has_many( Link Here
451
);
481
);
452
482
453
483
454
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-10-12 09:13:32
484
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
455
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:R4PNOXHa9cRIx/up7HWz4Q
485
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7g/qaNBJwsmAm6nh6mIr6A
456
486
457
487
458
__PACKAGE__->has_one(
488
__PACKAGE__->has_one(
(-)a/Koha/Schema/Result/BiblioFramework.pm (-2 / +6 lines)
Lines 30-35 __PACKAGE__->table("biblio_framework"); Link Here
30
  is_nullable: 0
30
  is_nullable: 0
31
  size: 4
31
  size: 4
32
32
33
the unique code assigned to the framework
34
33
=head2 frameworktext
35
=head2 frameworktext
34
36
35
  data_type: 'varchar'
37
  data_type: 'varchar'
Lines 37-42 __PACKAGE__->table("biblio_framework"); Link Here
37
  is_nullable: 0
39
  is_nullable: 0
38
  size: 255
40
  size: 255
39
41
42
the description/name given to the framework
43
40
=cut
44
=cut
41
45
42
__PACKAGE__->add_columns(
46
__PACKAGE__->add_columns(
Lines 59-66 __PACKAGE__->add_columns( Link Here
59
__PACKAGE__->set_primary_key("frameworkcode");
63
__PACKAGE__->set_primary_key("frameworkcode");
60
64
61
65
62
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
66
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
63
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KY1w7J/5cBsz9VV7QEBKPw
67
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:r15t5YxeOpHFq6VRfEYYQg
64
68
65
# FIXME This should not be needed, we need to add the FK at DB level
69
# FIXME This should not be needed, we need to add the FK at DB level
66
# It cannot be done now because the default framework (frameworkcode=='')
70
# It cannot be done now because the default framework (frameworkcode=='')
(-)a/Koha/Schema/Result/Biblioitem.pm (-2 / +34 lines)
Lines 29-34 __PACKAGE__->table("biblioitems"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
primary key, unique identifier assigned by Koha
33
32
=head2 biblionumber
34
=head2 biblionumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
Lines 36-41 __PACKAGE__->table("biblioitems"); 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 linking this table to the biblio table
42
39
=head2 volume
43
=head2 volume
40
44
41
  data_type: 'longtext'
45
  data_type: 'longtext'
Lines 52-67 __PACKAGE__->table("biblioitems"); Link Here
52
  is_nullable: 1
56
  is_nullable: 1
53
  size: 10
57
  size: 10
54
58
59
biblio level item type (MARC21 942$c)
60
55
=head2 isbn
61
=head2 isbn
56
62
57
  data_type: 'longtext'
63
  data_type: 'longtext'
58
  is_nullable: 1
64
  is_nullable: 1
59
65
66
ISBN (MARC21 020$a)
67
60
=head2 issn
68
=head2 issn
61
69
62
  data_type: 'longtext'
70
  data_type: 'longtext'
63
  is_nullable: 1
71
  is_nullable: 1
64
72
73
ISSN (MARC21 022$a)
74
65
=head2 ean
75
=head2 ean
66
76
67
  data_type: 'longtext'
77
  data_type: 'longtext'
Lines 78-83 __PACKAGE__->table("biblioitems"); Link Here
78
  is_nullable: 1
88
  is_nullable: 1
79
  size: 255
89
  size: 255
80
90
91
publisher (MARC21 260$b)
92
81
=head2 volumedate
93
=head2 volumedate
82
94
83
  data_type: 'date'
95
  data_type: 'date'
Lines 89-94 __PACKAGE__->table("biblioitems"); Link Here
89
  data_type: 'mediumtext'
101
  data_type: 'mediumtext'
90
  is_nullable: 1
102
  is_nullable: 1
91
103
104
volume information (MARC21 362$a)
105
92
=head2 collectiontitle
106
=head2 collectiontitle
93
107
94
  data_type: 'longtext'
108
  data_type: 'longtext'
Lines 127-138 __PACKAGE__->table("biblioitems"); Link Here
127
  is_nullable: 1
141
  is_nullable: 1
128
  size: 255
142
  size: 255
129
143
144
illustrations (MARC21 300$b)
145
130
=head2 pages
146
=head2 pages
131
147
132
  data_type: 'varchar'
148
  data_type: 'varchar'
133
  is_nullable: 1
149
  is_nullable: 1
134
  size: 255
150
  size: 255
135
151
152
number of pages (MARC21 300$c)
153
136
=head2 notes
154
=head2 notes
137
155
138
  data_type: 'longtext'
156
  data_type: 'longtext'
Lines 144-172 __PACKAGE__->table("biblioitems"); Link Here
144
  is_nullable: 1
162
  is_nullable: 1
145
  size: 255
163
  size: 255
146
164
165
material size (MARC21 300$c)
166
147
=head2 place
167
=head2 place
148
168
149
  data_type: 'varchar'
169
  data_type: 'varchar'
150
  is_nullable: 1
170
  is_nullable: 1
151
  size: 255
171
  size: 255
152
172
173
publication place (MARC21 260$a)
174
153
=head2 lccn
175
=head2 lccn
154
176
155
  data_type: 'varchar'
177
  data_type: 'varchar'
156
  is_nullable: 1
178
  is_nullable: 1
157
  size: 25
179
  size: 25
158
180
181
library of congress control number (MARC21 010$a)
182
159
=head2 url
183
=head2 url
160
184
161
  data_type: 'mediumtext'
185
  data_type: 'mediumtext'
162
  is_nullable: 1
186
  is_nullable: 1
163
187
188
url (MARC21 856$u)
189
164
=head2 cn_source
190
=head2 cn_source
165
191
166
  data_type: 'varchar'
192
  data_type: 'varchar'
167
  is_nullable: 1
193
  is_nullable: 1
168
  size: 10
194
  size: 10
169
195
196
classification source (MARC21 942$2)
197
170
=head2 cn_class
198
=head2 cn_class
171
199
172
  data_type: 'varchar'
200
  data_type: 'varchar'
Lines 191-202 __PACKAGE__->table("biblioitems"); Link Here
191
  is_nullable: 1
219
  is_nullable: 1
192
  size: 255
220
  size: 255
193
221
222
normalized version of the call number used for sorting
223
194
=head2 agerestriction
224
=head2 agerestriction
195
225
196
  data_type: 'varchar'
226
  data_type: 'varchar'
197
  is_nullable: 1
227
  is_nullable: 1
198
  size: 255
228
  size: 255
199
229
230
target audience/age restriction from the bib record (MARC21 521$a)
231
200
=head2 totalissues
232
=head2 totalissues
201
233
202
  data_type: 'integer'
234
  data_type: 'integer'
Lines 326-333 __PACKAGE__->has_many( Link Here
326
);
358
);
327
359
328
360
329
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
361
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
330
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ogVRTKNaUQSI3BE2xC2lww
362
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rDwWn5ndpGmmhgusk8SmAA
331
363
332
__PACKAGE__->belongs_to( biblio => "Koha::Schema::Result::Biblio", "biblionumber" );
364
__PACKAGE__->belongs_to( biblio => "Koha::Schema::Result::Biblio", "biblionumber" );
333
365
(-)a/Koha/Schema/Result/Borrower.pm (-9 / +151 lines)
Lines 29-201 __PACKAGE__->table("borrowers"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
primary key, Koha assigned ID number for patrons/borrowers
33
32
=head2 cardnumber
34
=head2 cardnumber
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
35
  is_nullable: 1
37
  is_nullable: 1
36
  size: 32
38
  size: 32
37
39
40
unique key, library assigned ID number for patrons/borrowers
41
38
=head2 surname
42
=head2 surname
39
43
40
  data_type: 'longtext'
44
  data_type: 'longtext'
41
  is_nullable: 1
45
  is_nullable: 1
42
46
47
patron/borrower's last name (surname)
48
43
=head2 firstname
49
=head2 firstname
44
50
45
  data_type: 'mediumtext'
51
  data_type: 'mediumtext'
46
  is_nullable: 1
52
  is_nullable: 1
47
53
54
patron/borrower's first name
55
48
=head2 title
56
=head2 title
49
57
50
  data_type: 'longtext'
58
  data_type: 'longtext'
51
  is_nullable: 1
59
  is_nullable: 1
52
60
61
patron/borrower's title, for example: Mr. or Mrs.
62
53
=head2 othernames
63
=head2 othernames
54
64
55
  data_type: 'longtext'
65
  data_type: 'longtext'
56
  is_nullable: 1
66
  is_nullable: 1
57
67
68
any other names associated with the patron/borrower
69
58
=head2 initials
70
=head2 initials
59
71
60
  data_type: 'mediumtext'
72
  data_type: 'mediumtext'
61
  is_nullable: 1
73
  is_nullable: 1
62
74
75
initials for your patron/borrower
76
63
=head2 streetnumber
77
=head2 streetnumber
64
78
65
  data_type: 'tinytext'
79
  data_type: 'tinytext'
66
  is_nullable: 1
80
  is_nullable: 1
67
81
82
the house number for your patron/borrower's primary address
83
68
=head2 streettype
84
=head2 streettype
69
85
70
  data_type: 'tinytext'
86
  data_type: 'tinytext'
71
  is_nullable: 1
87
  is_nullable: 1
72
88
89
the street type (Rd., Blvd, etc) for your patron/borrower's primary address
90
73
=head2 address
91
=head2 address
74
92
75
  data_type: 'longtext'
93
  data_type: 'longtext'
76
  is_nullable: 1
94
  is_nullable: 1
77
95
96
the first address line for your patron/borrower's primary address
97
78
=head2 address2
98
=head2 address2
79
99
80
  data_type: 'mediumtext'
100
  data_type: 'mediumtext'
81
  is_nullable: 1
101
  is_nullable: 1
82
102
103
the second address line for your patron/borrower's primary address
104
83
=head2 city
105
=head2 city
84
106
85
  data_type: 'longtext'
107
  data_type: 'longtext'
86
  is_nullable: 1
108
  is_nullable: 1
87
109
110
the city or town for your patron/borrower's primary address
111
88
=head2 state
112
=head2 state
89
113
90
  data_type: 'mediumtext'
114
  data_type: 'mediumtext'
91
  is_nullable: 1
115
  is_nullable: 1
92
116
117
the state or province for your patron/borrower's primary address
118
93
=head2 zipcode
119
=head2 zipcode
94
120
95
  data_type: 'tinytext'
121
  data_type: 'tinytext'
96
  is_nullable: 1
122
  is_nullable: 1
97
123
124
the zip or postal code for your patron/borrower's primary address
125
98
=head2 country
126
=head2 country
99
127
100
  data_type: 'mediumtext'
128
  data_type: 'mediumtext'
101
  is_nullable: 1
129
  is_nullable: 1
102
130
131
the country for your patron/borrower's primary address
132
103
=head2 email
133
=head2 email
104
134
105
  data_type: 'longtext'
135
  data_type: 'longtext'
106
  is_nullable: 1
136
  is_nullable: 1
107
137
138
the primary email address for your patron/borrower's primary address
139
108
=head2 phone
140
=head2 phone
109
141
110
  data_type: 'mediumtext'
142
  data_type: 'mediumtext'
111
  is_nullable: 1
143
  is_nullable: 1
112
144
145
the primary phone number for your patron/borrower's primary address
146
113
=head2 mobile
147
=head2 mobile
114
148
115
  data_type: 'tinytext'
149
  data_type: 'tinytext'
116
  is_nullable: 1
150
  is_nullable: 1
117
151
152
the other phone number for your patron/borrower's primary address
153
118
=head2 fax
154
=head2 fax
119
155
120
  data_type: 'longtext'
156
  data_type: 'longtext'
121
  is_nullable: 1
157
  is_nullable: 1
122
158
159
the fax number for your patron/borrower's primary address
160
123
=head2 emailpro
161
=head2 emailpro
124
162
125
  data_type: 'mediumtext'
163
  data_type: 'mediumtext'
126
  is_nullable: 1
164
  is_nullable: 1
127
165
166
the secondary email addres for your patron/borrower's primary address
167
128
=head2 phonepro
168
=head2 phonepro
129
169
130
  data_type: 'mediumtext'
170
  data_type: 'mediumtext'
131
  is_nullable: 1
171
  is_nullable: 1
132
172
173
the secondary phone number for your patron/borrower's primary address
174
133
=head2 B_streetnumber
175
=head2 B_streetnumber
134
176
135
  accessor: 'b_streetnumber'
177
  accessor: 'b_streetnumber'
136
  data_type: 'tinytext'
178
  data_type: 'tinytext'
137
  is_nullable: 1
179
  is_nullable: 1
138
180
181
the house number for your patron/borrower's alternate address
182
139
=head2 B_streettype
183
=head2 B_streettype
140
184
141
  accessor: 'b_streettype'
185
  accessor: 'b_streettype'
142
  data_type: 'tinytext'
186
  data_type: 'tinytext'
143
  is_nullable: 1
187
  is_nullable: 1
144
188
189
the street type (Rd., Blvd, etc) for your patron/borrower's alternate address
190
145
=head2 B_address
191
=head2 B_address
146
192
147
  accessor: 'b_address'
193
  accessor: 'b_address'
148
  data_type: 'mediumtext'
194
  data_type: 'mediumtext'
149
  is_nullable: 1
195
  is_nullable: 1
150
196
197
the first address line for your patron/borrower's alternate address
198
151
=head2 B_address2
199
=head2 B_address2
152
200
153
  accessor: 'b_address2'
201
  accessor: 'b_address2'
154
  data_type: 'mediumtext'
202
  data_type: 'mediumtext'
155
  is_nullable: 1
203
  is_nullable: 1
156
204
205
the second address line for your patron/borrower's alternate address
206
157
=head2 B_city
207
=head2 B_city
158
208
159
  accessor: 'b_city'
209
  accessor: 'b_city'
160
  data_type: 'longtext'
210
  data_type: 'longtext'
161
  is_nullable: 1
211
  is_nullable: 1
162
212
213
the city or town for your patron/borrower's alternate address
214
163
=head2 B_state
215
=head2 B_state
164
216
165
  accessor: 'b_state'
217
  accessor: 'b_state'
166
  data_type: 'mediumtext'
218
  data_type: 'mediumtext'
167
  is_nullable: 1
219
  is_nullable: 1
168
220
221
the state for your patron/borrower's alternate address
222
169
=head2 B_zipcode
223
=head2 B_zipcode
170
224
171
  accessor: 'b_zipcode'
225
  accessor: 'b_zipcode'
172
  data_type: 'tinytext'
226
  data_type: 'tinytext'
173
  is_nullable: 1
227
  is_nullable: 1
174
228
229
the zip or postal code for your patron/borrower's alternate address
230
175
=head2 B_country
231
=head2 B_country
176
232
177
  accessor: 'b_country'
233
  accessor: 'b_country'
178
  data_type: 'mediumtext'
234
  data_type: 'mediumtext'
179
  is_nullable: 1
235
  is_nullable: 1
180
236
237
the country for your patron/borrower's alternate address
238
181
=head2 B_email
239
=head2 B_email
182
240
183
  accessor: 'b_email'
241
  accessor: 'b_email'
184
  data_type: 'mediumtext'
242
  data_type: 'mediumtext'
185
  is_nullable: 1
243
  is_nullable: 1
186
244
245
the patron/borrower's alternate email address
246
187
=head2 B_phone
247
=head2 B_phone
188
248
189
  accessor: 'b_phone'
249
  accessor: 'b_phone'
190
  data_type: 'longtext'
250
  data_type: 'longtext'
191
  is_nullable: 1
251
  is_nullable: 1
192
252
253
the patron/borrower's alternate phone number
254
193
=head2 dateofbirth
255
=head2 dateofbirth
194
256
195
  data_type: 'date'
257
  data_type: 'date'
196
  datetime_undef_if_invalid: 1
258
  datetime_undef_if_invalid: 1
197
  is_nullable: 1
259
  is_nullable: 1
198
260
261
the patron/borrower's date of birth (YYYY-MM-DD)
262
199
=head2 branchcode
263
=head2 branchcode
200
264
201
  data_type: 'varchar'
265
  data_type: 'varchar'
Lines 204-209 __PACKAGE__->table("borrowers"); Link Here
204
  is_nullable: 0
268
  is_nullable: 0
205
  size: 10
269
  size: 10
206
270
271
foreign key from the branches table, includes the code of the patron/borrower's home branch
272
207
=head2 categorycode
273
=head2 categorycode
208
274
209
  data_type: 'varchar'
275
  data_type: 'varchar'
Lines 212-282 __PACKAGE__->table("borrowers"); Link Here
212
  is_nullable: 0
278
  is_nullable: 0
213
  size: 10
279
  size: 10
214
280
281
foreign key from the categories table, includes the code of the patron category
282
215
=head2 dateenrolled
283
=head2 dateenrolled
216
284
217
  data_type: 'date'
285
  data_type: 'date'
218
  datetime_undef_if_invalid: 1
286
  datetime_undef_if_invalid: 1
219
  is_nullable: 1
287
  is_nullable: 1
220
288
289
date the patron was added to Koha (YYYY-MM-DD)
290
221
=head2 dateexpiry
291
=head2 dateexpiry
222
292
223
  data_type: 'date'
293
  data_type: 'date'
224
  datetime_undef_if_invalid: 1
294
  datetime_undef_if_invalid: 1
225
  is_nullable: 1
295
  is_nullable: 1
226
296
297
date the patron/borrower's card is set to expire (YYYY-MM-DD)
298
227
=head2 date_renewed
299
=head2 date_renewed
228
300
229
  data_type: 'date'
301
  data_type: 'date'
230
  datetime_undef_if_invalid: 1
302
  datetime_undef_if_invalid: 1
231
  is_nullable: 1
303
  is_nullable: 1
232
304
305
date the patron/borrower's card was last renewed
306
233
=head2 gonenoaddress
307
=head2 gonenoaddress
234
308
235
  data_type: 'tinyint'
309
  data_type: 'tinyint'
236
  is_nullable: 1
310
  is_nullable: 1
237
311
312
set to 1 for yes and 0 for no, flag to note that library marked this patron/borrower as having an unconfirmed address
313
238
=head2 lost
314
=head2 lost
239
315
240
  data_type: 'tinyint'
316
  data_type: 'tinyint'
241
  is_nullable: 1
317
  is_nullable: 1
242
318
319
set to 1 for yes and 0 for no, flag to note that library marked this patron/borrower as having lost their card
320
243
=head2 debarred
321
=head2 debarred
244
322
245
  data_type: 'date'
323
  data_type: 'date'
246
  datetime_undef_if_invalid: 1
324
  datetime_undef_if_invalid: 1
247
  is_nullable: 1
325
  is_nullable: 1
248
326
327
until this date the patron can only check-in (no loans, no holds, etc.), is a fine based on days instead of money (YYYY-MM-DD)
328
249
=head2 debarredcomment
329
=head2 debarredcomment
250
330
251
  data_type: 'varchar'
331
  data_type: 'varchar'
252
  is_nullable: 1
332
  is_nullable: 1
253
  size: 255
333
  size: 255
254
334
335
comment on the stop of the patron
336
255
=head2 contactname
337
=head2 contactname
256
338
257
  data_type: 'longtext'
339
  data_type: 'longtext'
258
  is_nullable: 1
340
  is_nullable: 1
259
341
342
used for children and profesionals to include surname or last name of guarantor or organization name
343
260
=head2 contactfirstname
344
=head2 contactfirstname
261
345
262
  data_type: 'mediumtext'
346
  data_type: 'mediumtext'
263
  is_nullable: 1
347
  is_nullable: 1
264
348
349
used for children to include first name of guarantor
350
265
=head2 contacttitle
351
=head2 contacttitle
266
352
267
  data_type: 'mediumtext'
353
  data_type: 'mediumtext'
268
  is_nullable: 1
354
  is_nullable: 1
269
355
356
used for children to include title (Mr., Mrs., etc) of guarantor
357
270
=head2 borrowernotes
358
=head2 borrowernotes
271
359
272
  data_type: 'longtext'
360
  data_type: 'longtext'
273
  is_nullable: 1
361
  is_nullable: 1
274
362
275
=head2 relationship
363
a note on the patron/borrower's account that is only visible in the staff interface
276
277
  data_type: 'varchar'
278
  is_nullable: 1
279
  size: 100
280
364
281
=head2 sex
365
=head2 sex
282
366
Lines 284-404 __PACKAGE__->table("borrowers"); Link Here
284
  is_nullable: 1
368
  is_nullable: 1
285
  size: 1
369
  size: 1
286
370
371
patron/borrower's gender
372
287
=head2 password
373
=head2 password
288
374
289
  data_type: 'varchar'
375
  data_type: 'varchar'
290
  is_nullable: 1
376
  is_nullable: 1
291
  size: 60
377
  size: 60
292
378
379
patron/borrower's Bcrypt encrypted password
380
293
=head2 flags
381
=head2 flags
294
382
295
  data_type: 'integer'
383
  data_type: 'integer'
296
  is_nullable: 1
384
  is_nullable: 1
297
385
386
will include a number associated with the staff member's permissions
387
298
=head2 userid
388
=head2 userid
299
389
300
  data_type: 'varchar'
390
  data_type: 'varchar'
301
  is_nullable: 1
391
  is_nullable: 1
302
  size: 75
392
  size: 75
303
393
394
patron/borrower's opac and/or staff interface log in
395
304
=head2 opacnote
396
=head2 opacnote
305
397
306
  data_type: 'longtext'
398
  data_type: 'longtext'
307
  is_nullable: 1
399
  is_nullable: 1
308
400
401
a note on the patron/borrower's account that is visible in the OPAC and staff interface
402
309
=head2 contactnote
403
=head2 contactnote
310
404
311
  data_type: 'varchar'
405
  data_type: 'varchar'
312
  is_nullable: 1
406
  is_nullable: 1
313
  size: 255
407
  size: 255
314
408
409
a note related to the patron/borrower's alternate address
410
315
=head2 sort1
411
=head2 sort1
316
412
317
  data_type: 'varchar'
413
  data_type: 'varchar'
318
  is_nullable: 1
414
  is_nullable: 1
319
  size: 80
415
  size: 80
320
416
417
a field that can be used for any information unique to the library
418
321
=head2 sort2
419
=head2 sort2
322
420
323
  data_type: 'varchar'
421
  data_type: 'varchar'
324
  is_nullable: 1
422
  is_nullable: 1
325
  size: 80
423
  size: 80
326
424
425
a field that can be used for any information unique to the library
426
327
=head2 altcontactfirstname
427
=head2 altcontactfirstname
328
428
329
  data_type: 'mediumtext'
429
  data_type: 'mediumtext'
330
  is_nullable: 1
430
  is_nullable: 1
331
431
432
first name of alternate contact for the patron/borrower
433
332
=head2 altcontactsurname
434
=head2 altcontactsurname
333
435
334
  data_type: 'mediumtext'
436
  data_type: 'mediumtext'
335
  is_nullable: 1
437
  is_nullable: 1
336
438
439
surname or last name of the alternate contact for the patron/borrower
440
337
=head2 altcontactaddress1
441
=head2 altcontactaddress1
338
442
339
  data_type: 'mediumtext'
443
  data_type: 'mediumtext'
340
  is_nullable: 1
444
  is_nullable: 1
341
445
446
the first address line for the alternate contact for the patron/borrower
447
342
=head2 altcontactaddress2
448
=head2 altcontactaddress2
343
449
344
  data_type: 'mediumtext'
450
  data_type: 'mediumtext'
345
  is_nullable: 1
451
  is_nullable: 1
346
452
453
the second address line for the alternate contact for the patron/borrower
454
347
=head2 altcontactaddress3
455
=head2 altcontactaddress3
348
456
349
  data_type: 'mediumtext'
457
  data_type: 'mediumtext'
350
  is_nullable: 1
458
  is_nullable: 1
351
459
460
the city for the alternate contact for the patron/borrower
461
352
=head2 altcontactstate
462
=head2 altcontactstate
353
463
354
  data_type: 'mediumtext'
464
  data_type: 'mediumtext'
355
  is_nullable: 1
465
  is_nullable: 1
356
466
467
the state for the alternate contact for the patron/borrower
468
357
=head2 altcontactzipcode
469
=head2 altcontactzipcode
358
470
359
  data_type: 'mediumtext'
471
  data_type: 'mediumtext'
360
  is_nullable: 1
472
  is_nullable: 1
361
473
474
the zipcode for the alternate contact for the patron/borrower
475
362
=head2 altcontactcountry
476
=head2 altcontactcountry
363
477
364
  data_type: 'mediumtext'
478
  data_type: 'mediumtext'
365
  is_nullable: 1
479
  is_nullable: 1
366
480
481
the country for the alternate contact for the patron/borrower
482
367
=head2 altcontactphone
483
=head2 altcontactphone
368
484
369
  data_type: 'mediumtext'
485
  data_type: 'mediumtext'
370
  is_nullable: 1
486
  is_nullable: 1
371
487
488
the phone number for the alternate contact for the patron/borrower
489
372
=head2 smsalertnumber
490
=head2 smsalertnumber
373
491
374
  data_type: 'varchar'
492
  data_type: 'varchar'
375
  is_nullable: 1
493
  is_nullable: 1
376
  size: 50
494
  size: 50
377
495
496
the mobile phone number where the patron/borrower would like to receive notices (if SMS turned on)
497
378
=head2 sms_provider_id
498
=head2 sms_provider_id
379
499
380
  data_type: 'integer'
500
  data_type: 'integer'
381
  is_foreign_key: 1
501
  is_foreign_key: 1
382
  is_nullable: 1
502
  is_nullable: 1
383
503
504
the provider of the mobile phone number defined in smsalertnumber
505
384
=head2 privacy
506
=head2 privacy
385
507
386
  data_type: 'integer'
508
  data_type: 'integer'
387
  default_value: 1
509
  default_value: 1
388
  is_nullable: 0
510
  is_nullable: 0
389
511
512
patron/borrower's privacy settings related to their checkout history
513
390
=head2 privacy_guarantor_fines
514
=head2 privacy_guarantor_fines
391
515
392
  data_type: 'tinyint'
516
  data_type: 'tinyint'
393
  default_value: 0
517
  default_value: 0
394
  is_nullable: 0
518
  is_nullable: 0
395
519
520
controls if relatives can see this patron's fines
521
396
=head2 privacy_guarantor_checkouts
522
=head2 privacy_guarantor_checkouts
397
523
398
  data_type: 'tinyint'
524
  data_type: 'tinyint'
399
  default_value: 0
525
  default_value: 0
400
  is_nullable: 0
526
  is_nullable: 0
401
527
528
controls if relatives can see this patron's checkouts
529
402
=head2 checkprevcheckout
530
=head2 checkprevcheckout
403
531
404
  data_type: 'varchar'
532
  data_type: 'varchar'
Lines 406-411 __PACKAGE__->table("borrowers"); Link Here
406
  is_nullable: 0
534
  is_nullable: 0
407
  size: 7
535
  size: 7
408
536
537
produce a warning for this patron if this item has previously been checked out to this patron if 'yes', not if 'no', defer to category setting if 'inherit'.
538
409
=head2 updated_on
539
=head2 updated_on
410
540
411
  data_type: 'timestamp'
541
  data_type: 'timestamp'
Lines 413-424 __PACKAGE__->table("borrowers"); Link Here
413
  default_value: current_timestamp
543
  default_value: current_timestamp
414
  is_nullable: 0
544
  is_nullable: 0
415
545
546
time of last change could be useful for synchronization with external systems (among others)
547
416
=head2 lastseen
548
=head2 lastseen
417
549
418
  data_type: 'datetime'
550
  data_type: 'datetime'
419
  datetime_undef_if_invalid: 1
551
  datetime_undef_if_invalid: 1
420
  is_nullable: 1
552
  is_nullable: 1
421
553
554
last time a patron has been seen (connected at the OPAC or staff interface)
555
422
=head2 lang
556
=head2 lang
423
557
424
  data_type: 'varchar'
558
  data_type: 'varchar'
Lines 426-454 __PACKAGE__->table("borrowers"); Link Here
426
  is_nullable: 0
560
  is_nullable: 0
427
  size: 25
561
  size: 25
428
562
563
lang to use to send notices to this patron
564
429
=head2 login_attempts
565
=head2 login_attempts
430
566
431
  data_type: 'integer'
567
  data_type: 'integer'
432
  default_value: 0
568
  default_value: 0
433
  is_nullable: 0
569
  is_nullable: 0
434
570
571
number of failed login attemps
572
435
=head2 overdrive_auth_token
573
=head2 overdrive_auth_token
436
574
437
  data_type: 'mediumtext'
575
  data_type: 'mediumtext'
438
  is_nullable: 1
576
  is_nullable: 1
439
577
578
persist OverDrive auth token
579
440
=head2 anonymized
580
=head2 anonymized
441
581
442
  data_type: 'tinyint'
582
  data_type: 'tinyint'
443
  default_value: 0
583
  default_value: 0
444
  is_nullable: 0
584
  is_nullable: 0
445
585
586
flag for data anonymization
587
446
=head2 autorenew_checkouts
588
=head2 autorenew_checkouts
447
589
448
  data_type: 'tinyint'
590
  data_type: 'tinyint'
449
  default_value: 1
591
  default_value: 1
450
  is_nullable: 0
592
  is_nullable: 0
451
593
594
flag for allowing auto-renewal
595
452
=cut
596
=cut
453
597
454
__PACKAGE__->add_columns(
598
__PACKAGE__->add_columns(
Lines 554-561 __PACKAGE__->add_columns( Link Here
554
  { data_type => "mediumtext", is_nullable => 1 },
698
  { data_type => "mediumtext", is_nullable => 1 },
555
  "borrowernotes",
699
  "borrowernotes",
556
  { data_type => "longtext", is_nullable => 1 },
700
  { data_type => "longtext", is_nullable => 1 },
557
  "relationship",
558
  { data_type => "varchar", is_nullable => 1, size => 100 },
559
  "sex",
701
  "sex",
560
  { data_type => "varchar", is_nullable => 1, size => 1 },
702
  { data_type => "varchar", is_nullable => 1, size => 1 },
561
  "password",
703
  "password",
Lines 1713-1720 Composing rels: L</aqorder_users> -> ordernumber Link Here
1713
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1855
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1714
1856
1715
1857
1716
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-11-09 19:12:25
1858
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
1717
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Kp53XFs7tFIpzNSqm/WY8w
1859
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:p19R3ym2b7Es0K4bGRlYOw
1718
1860
1719
__PACKAGE__->add_columns(
1861
__PACKAGE__->add_columns(
1720
    '+anonymized'    => { is_boolean => 1 },
1862
    '+anonymized'    => { is_boolean => 1 },
(-)a/Koha/Schema/Result/BorrowerAttribute.pm (-2 / +10 lines)
Lines 29-40 __PACKAGE__->table("borrower_attributes"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
Row id field
33
32
=head2 borrowernumber
34
=head2 borrowernumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
foreign key from the borrowers table, defines which patron/borrower has this attribute
41
38
=head2 code
42
=head2 code
39
43
40
  data_type: 'varchar'
44
  data_type: 'varchar'
Lines 42-53 __PACKAGE__->table("borrower_attributes"); Link Here
42
  is_nullable: 0
46
  is_nullable: 0
43
  size: 10
47
  size: 10
44
48
49
foreign key from the borrower_attribute_types table, defines which custom field this value was entered for
50
45
=head2 attribute
51
=head2 attribute
46
52
47
  data_type: 'varchar'
53
  data_type: 'varchar'
48
  is_nullable: 1
54
  is_nullable: 1
49
  size: 255
55
  size: 255
50
56
57
custom patron field value
58
51
=cut
59
=cut
52
60
53
__PACKAGE__->add_columns(
61
__PACKAGE__->add_columns(
Lines 106-113 __PACKAGE__->belongs_to( Link Here
106
);
114
);
107
115
108
116
109
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-12-08 04:41:27
117
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
110
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EarETnedFsmRmAAJAUrKGg
118
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TJaujD5jDExU+B8X9ALeww
111
119
112
=head2 borrower_attribute_types
120
=head2 borrower_attribute_types
113
121
(-)a/Koha/Schema/Result/BorrowerAttributeType.pm (-2 / +28 lines)
Lines 29-88 __PACKAGE__->table("borrower_attribute_types"); Link Here
29
  is_nullable: 0
29
  is_nullable: 0
30
  size: 10
30
  size: 10
31
31
32
unique key used to identify each custom field
33
32
=head2 description
34
=head2 description
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
35
  is_nullable: 0
37
  is_nullable: 0
36
  size: 255
38
  size: 255
37
39
40
description for each custom field
41
38
=head2 repeatable
42
=head2 repeatable
39
43
40
  data_type: 'tinyint'
44
  data_type: 'tinyint'
41
  default_value: 0
45
  default_value: 0
42
  is_nullable: 0
46
  is_nullable: 0
43
47
48
defines whether one patron/borrower can have multiple values for this custom field  (1 for yes, 0 for no)
49
44
=head2 unique_id
50
=head2 unique_id
45
51
46
  data_type: 'tinyint'
52
  data_type: 'tinyint'
47
  default_value: 0
53
  default_value: 0
48
  is_nullable: 0
54
  is_nullable: 0
49
55
56
defines if this value needs to be unique (1 for yes, 0 for no)
57
50
=head2 opac_display
58
=head2 opac_display
51
59
52
  data_type: 'tinyint'
60
  data_type: 'tinyint'
53
  default_value: 0
61
  default_value: 0
54
  is_nullable: 0
62
  is_nullable: 0
55
63
64
defines if this field is visible to patrons on their account in the OPAC (1 for yes, 0 for no)
65
56
=head2 opac_editable
66
=head2 opac_editable
57
67
58
  data_type: 'tinyint'
68
  data_type: 'tinyint'
59
  default_value: 0
69
  default_value: 0
60
  is_nullable: 0
70
  is_nullable: 0
61
71
72
defines if this field is editable by patrons on their account in the OPAC (1 for yes, 0 for no)
73
62
=head2 staff_searchable
74
=head2 staff_searchable
63
75
64
  data_type: 'tinyint'
76
  data_type: 'tinyint'
65
  default_value: 0
77
  default_value: 0
66
  is_nullable: 0
78
  is_nullable: 0
67
79
80
defines if this field is searchable via the patron search in the staff interface (1 for yes, 0 for no)
81
68
=head2 authorised_value_category
82
=head2 authorised_value_category
69
83
70
  data_type: 'varchar'
84
  data_type: 'varchar'
71
  is_nullable: 1
85
  is_nullable: 1
72
  size: 32
86
  size: 32
73
87
88
foreign key from authorised_values that links this custom field to an authorized value category
89
74
=head2 display_checkout
90
=head2 display_checkout
75
91
76
  data_type: 'tinyint'
92
  data_type: 'tinyint'
77
  default_value: 0
93
  default_value: 0
78
  is_nullable: 0
94
  is_nullable: 0
79
95
96
defines if this field displays in checkout screens
97
80
=head2 category_code
98
=head2 category_code
81
99
82
  data_type: 'varchar'
100
  data_type: 'varchar'
83
  is_nullable: 1
101
  is_nullable: 1
84
  size: 10
102
  size: 10
85
103
104
defines a category for an attribute_type
105
86
=head2 class
106
=head2 class
87
107
88
  data_type: 'varchar'
108
  data_type: 'varchar'
Lines 90-107 __PACKAGE__->table("borrower_attribute_types"); Link Here
90
  is_nullable: 0
110
  is_nullable: 0
91
  size: 255
111
  size: 255
92
112
113
defines a class for an attribute_type
114
93
=head2 keep_for_pseudonymization
115
=head2 keep_for_pseudonymization
94
116
95
  data_type: 'tinyint'
117
  data_type: 'tinyint'
96
  default_value: 0
118
  default_value: 0
97
  is_nullable: 0
119
  is_nullable: 0
98
120
121
defines if this field is copied to anonymized_borrower_attributes (1 for yes, 0 for no)
122
99
=head2 mandatory
123
=head2 mandatory
100
124
101
  data_type: 'tinyint'
125
  data_type: 'tinyint'
102
  default_value: 0
126
  default_value: 0
103
  is_nullable: 0
127
  is_nullable: 0
104
128
129
defines if the attribute is mandatory or not
130
105
=cut
131
=cut
106
132
107
__PACKAGE__->add_columns(
133
__PACKAGE__->add_columns(
Lines 193-200 __PACKAGE__->has_many( Link Here
193
);
219
);
194
220
195
221
196
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-07-20 12:40:43
222
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:30
197
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+5TTNyiyjJkADhbkSLvGLw
223
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6AOwZeATSu2jBEaTiZ7tpQ
198
224
199
__PACKAGE__->add_columns(
225
__PACKAGE__->add_columns(
200
    '+keep_for_pseudonymization' => { is_boolean => 1 },
226
    '+keep_for_pseudonymization' => { is_boolean => 1 },
(-)a/Koha/Schema/Result/BorrowerDebarment.pm (-2 / +18 lines)
Lines 29-46 __PACKAGE__->table("borrower_debarments"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
unique key for the restriction
33
32
=head2 borrowernumber
34
=head2 borrowernumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
foreign key for borrowers.borrowernumber for patron who is restricted
41
38
=head2 expiration
42
=head2 expiration
39
43
40
  data_type: 'date'
44
  data_type: 'date'
41
  datetime_undef_if_invalid: 1
45
  datetime_undef_if_invalid: 1
42
  is_nullable: 1
46
  is_nullable: 1
43
47
48
expiration date of the restriction
49
44
=head2 type
50
=head2 type
45
51
46
  data_type: 'enum'
52
  data_type: 'enum'
Lines 48-63 __PACKAGE__->table("borrower_debarments"); Link Here
48
  extra: {list => ["SUSPENSION","OVERDUES","MANUAL","DISCHARGE"]}
54
  extra: {list => ["SUSPENSION","OVERDUES","MANUAL","DISCHARGE"]}
49
  is_nullable: 0
55
  is_nullable: 0
50
56
57
type of restriction
58
51
=head2 comment
59
=head2 comment
52
60
53
  data_type: 'mediumtext'
61
  data_type: 'mediumtext'
54
  is_nullable: 1
62
  is_nullable: 1
55
63
64
comments about the restriction
65
56
=head2 manager_id
66
=head2 manager_id
57
67
58
  data_type: 'integer'
68
  data_type: 'integer'
59
  is_nullable: 1
69
  is_nullable: 1
60
70
71
foreign key for borrowers.borrowernumber for the librarian managing the restriction
72
61
=head2 created
73
=head2 created
62
74
63
  data_type: 'timestamp'
75
  data_type: 'timestamp'
Lines 65-76 __PACKAGE__->table("borrower_debarments"); Link Here
65
  default_value: current_timestamp
77
  default_value: current_timestamp
66
  is_nullable: 0
78
  is_nullable: 0
67
79
80
date the restriction was added
81
68
=head2 updated
82
=head2 updated
69
83
70
  data_type: 'timestamp'
84
  data_type: 'timestamp'
71
  datetime_undef_if_invalid: 1
85
  datetime_undef_if_invalid: 1
72
  is_nullable: 1
86
  is_nullable: 1
73
87
88
date the restriction was updated
89
74
=cut
90
=cut
75
91
76
__PACKAGE__->add_columns(
92
__PACKAGE__->add_columns(
Lines 136-143 __PACKAGE__->belongs_to( Link Here
136
);
152
);
137
153
138
154
139
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
155
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
140
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:J9J1ReRLqhVasOQXvde2Uw
156
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VgmNUSJuF4edkufZh/+r5Q
141
157
142
158
143
# You can replace this text with custom code or comments, and it will be preserved on regeneration
159
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/BorrowerFile.pm (-2 / +16 lines)
Lines 29-63 __PACKAGE__->table("borrower_files"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
unique key
33
32
=head2 borrowernumber
34
=head2 borrowernumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
foreign key linking to the patron via the borrowernumber
41
38
=head2 file_name
42
=head2 file_name
39
43
40
  data_type: 'varchar'
44
  data_type: 'varchar'
41
  is_nullable: 0
45
  is_nullable: 0
42
  size: 255
46
  size: 255
43
47
48
file name
49
44
=head2 file_type
50
=head2 file_type
45
51
46
  data_type: 'varchar'
52
  data_type: 'varchar'
47
  is_nullable: 0
53
  is_nullable: 0
48
  size: 255
54
  size: 255
49
55
56
type of file
57
50
=head2 file_description
58
=head2 file_description
51
59
52
  data_type: 'varchar'
60
  data_type: 'varchar'
53
  is_nullable: 1
61
  is_nullable: 1
54
  size: 255
62
  size: 255
55
63
64
description given to the file
65
56
=head2 file_content
66
=head2 file_content
57
67
58
  data_type: 'longblob'
68
  data_type: 'longblob'
59
  is_nullable: 0
69
  is_nullable: 0
60
70
71
the file
72
61
=head2 date_uploaded
73
=head2 date_uploaded
62
74
63
  data_type: 'timestamp'
75
  data_type: 'timestamp'
Lines 65-70 __PACKAGE__->table("borrower_files"); Link Here
65
  default_value: current_timestamp
77
  default_value: current_timestamp
66
  is_nullable: 0
78
  is_nullable: 0
67
79
80
date and time the file was added
81
68
=cut
82
=cut
69
83
70
__PACKAGE__->add_columns(
84
__PACKAGE__->add_columns(
Lines 119-126 __PACKAGE__->belongs_to( Link Here
119
);
133
);
120
134
121
135
122
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
136
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
123
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sbkf7bvdO4CgmiBLgIwYQg
137
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:W42furxlvGDZDwgtppaavw
124
138
125
139
126
# You can replace this text with custom content, and it will be preserved on regeneration
140
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/BorrowerModification.pm (-10 / +4 lines)
Lines 295-306 __PACKAGE__->table("borrower_modifications"); Link Here
295
  data_type: 'longtext'
295
  data_type: 'longtext'
296
  is_nullable: 1
296
  is_nullable: 1
297
297
298
=head2 relationship
299
300
  data_type: 'varchar'
301
  is_nullable: 1
302
  size: 100
303
304
=head2 sex
298
=head2 sex
305
299
306
  data_type: 'varchar'
300
  data_type: 'varchar'
Lines 421-426 __PACKAGE__->table("borrower_modifications"); Link Here
421
  datetime_undef_if_invalid: 1
415
  datetime_undef_if_invalid: 1
422
  is_nullable: 1
416
  is_nullable: 1
423
417
418
data processing consent
419
424
=cut
420
=cut
425
421
426
__PACKAGE__->add_columns(
422
__PACKAGE__->add_columns(
Lines 545-552 __PACKAGE__->add_columns( Link Here
545
  { data_type => "mediumtext", is_nullable => 1 },
541
  { data_type => "mediumtext", is_nullable => 1 },
546
  "borrowernotes",
542
  "borrowernotes",
547
  { data_type => "longtext", is_nullable => 1 },
543
  { data_type => "longtext", is_nullable => 1 },
548
  "relationship",
549
  { data_type => "varchar", is_nullable => 1, size => 100 },
550
  "sex",
544
  "sex",
551
  { data_type => "varchar", is_nullable => 1, size => 1 },
545
  { data_type => "varchar", is_nullable => 1, size => 1 },
552
  "password",
546
  "password",
Lines 610-617 __PACKAGE__->add_columns( Link Here
610
__PACKAGE__->set_primary_key("verification_token", "borrowernumber");
604
__PACKAGE__->set_primary_key("verification_token", "borrowernumber");
611
605
612
606
613
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-04-17 08:12:55
607
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
614
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:eK1U1HkJyF1dL9WpcrkxdA
608
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Vzqe4y1VKlPzSCi8dc72GQ
615
609
616
sub koha_object_class {
610
sub koha_object_class {
617
    'Koha::Patron::Modification';
611
    'Koha::Patron::Modification';
(-)a/Koha/Schema/Result/BorrowerPasswordRecovery.pm (-2 / +8 lines)
Lines 28-39 __PACKAGE__->table("borrower_password_recovery"); Link Here
28
  data_type: 'integer'
28
  data_type: 'integer'
29
  is_nullable: 0
29
  is_nullable: 0
30
30
31
the user asking a password recovery
32
31
=head2 uuid
33
=head2 uuid
32
34
33
  data_type: 'varchar'
35
  data_type: 'varchar'
34
  is_nullable: 0
36
  is_nullable: 0
35
  size: 128
37
  size: 128
36
38
39
a unique string to identify a password recovery attempt
40
37
=head2 valid_until
41
=head2 valid_until
38
42
39
  data_type: 'timestamp'
43
  data_type: 'timestamp'
Lines 41-46 __PACKAGE__->table("borrower_password_recovery"); Link Here
41
  default_value: current_timestamp
45
  default_value: current_timestamp
42
  is_nullable: 0
46
  is_nullable: 0
43
47
48
a time limit on the password recovery attempt
49
44
=cut
50
=cut
45
51
46
__PACKAGE__->add_columns(
52
__PACKAGE__->add_columns(
Lines 70-77 __PACKAGE__->add_columns( Link Here
70
__PACKAGE__->set_primary_key("borrowernumber");
76
__PACKAGE__->set_primary_key("borrowernumber");
71
77
72
78
73
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2016-01-22 10:16:52
79
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
74
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:c4ehAGqOD6YHpGg85BX8YQ
80
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/KE+MtQb53sAtv1PLOH6xw
75
81
76
82
77
# You can replace this text with custom code or comments, and it will be preserved on regeneration
83
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Branch.pm (-2 / +48 lines)
Lines 30-150 __PACKAGE__->table("branches"); Link Here
30
  is_nullable: 0
30
  is_nullable: 0
31
  size: 10
31
  size: 10
32
32
33
a unique key assigned to each branch
34
33
=head2 branchname
35
=head2 branchname
34
36
35
  data_type: 'longtext'
37
  data_type: 'longtext'
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
the name of your library or branch
41
38
=head2 branchaddress1
42
=head2 branchaddress1
39
43
40
  data_type: 'longtext'
44
  data_type: 'longtext'
41
  is_nullable: 1
45
  is_nullable: 1
42
46
47
the first address line of for your library or branch
48
43
=head2 branchaddress2
49
=head2 branchaddress2
44
50
45
  data_type: 'longtext'
51
  data_type: 'longtext'
46
  is_nullable: 1
52
  is_nullable: 1
47
53
54
the second address line of for your library or branch
55
48
=head2 branchaddress3
56
=head2 branchaddress3
49
57
50
  data_type: 'longtext'
58
  data_type: 'longtext'
51
  is_nullable: 1
59
  is_nullable: 1
52
60
61
the third address line of for your library or branch
62
53
=head2 branchzip
63
=head2 branchzip
54
64
55
  data_type: 'varchar'
65
  data_type: 'varchar'
56
  is_nullable: 1
66
  is_nullable: 1
57
  size: 25
67
  size: 25
58
68
69
the zip or postal code for your library or branch
70
59
=head2 branchcity
71
=head2 branchcity
60
72
61
  data_type: 'longtext'
73
  data_type: 'longtext'
62
  is_nullable: 1
74
  is_nullable: 1
63
75
76
the city or province for your library or branch
77
64
=head2 branchstate
78
=head2 branchstate
65
79
66
  data_type: 'longtext'
80
  data_type: 'longtext'
67
  is_nullable: 1
81
  is_nullable: 1
68
82
83
the state for your library or branch
84
69
=head2 branchcountry
85
=head2 branchcountry
70
86
71
  data_type: 'mediumtext'
87
  data_type: 'mediumtext'
72
  is_nullable: 1
88
  is_nullable: 1
73
89
90
the county for your library or branch
91
74
=head2 branchphone
92
=head2 branchphone
75
93
76
  data_type: 'longtext'
94
  data_type: 'longtext'
77
  is_nullable: 1
95
  is_nullable: 1
78
96
97
the primary phone for your library or branch
98
79
=head2 branchfax
99
=head2 branchfax
80
100
81
  data_type: 'longtext'
101
  data_type: 'longtext'
82
  is_nullable: 1
102
  is_nullable: 1
83
103
104
the fax number for your library or branch
105
84
=head2 branchemail
106
=head2 branchemail
85
107
86
  data_type: 'longtext'
108
  data_type: 'longtext'
87
  is_nullable: 1
109
  is_nullable: 1
88
110
111
the primary email address for your library or branch
112
89
=head2 branchillemail
113
=head2 branchillemail
90
114
91
  data_type: 'longtext'
115
  data_type: 'longtext'
92
  is_nullable: 1
116
  is_nullable: 1
93
117
118
the ILL staff email address for your library or branch
119
94
=head2 branchreplyto
120
=head2 branchreplyto
95
121
96
  data_type: 'longtext'
122
  data_type: 'longtext'
97
  is_nullable: 1
123
  is_nullable: 1
98
124
125
the email to be used as a Reply-To
126
99
=head2 branchreturnpath
127
=head2 branchreturnpath
100
128
101
  data_type: 'longtext'
129
  data_type: 'longtext'
102
  is_nullable: 1
130
  is_nullable: 1
103
131
132
the email to be used as Return-Path
133
104
=head2 branchurl
134
=head2 branchurl
105
135
106
  data_type: 'longtext'
136
  data_type: 'longtext'
107
  is_nullable: 1
137
  is_nullable: 1
108
138
139
the URL for your library or branch's website
140
109
=head2 issuing
141
=head2 issuing
110
142
111
  data_type: 'tinyint'
143
  data_type: 'tinyint'
112
  is_nullable: 1
144
  is_nullable: 1
113
145
146
unused in Koha
147
114
=head2 branchip
148
=head2 branchip
115
149
116
  data_type: 'varchar'
150
  data_type: 'varchar'
117
  is_nullable: 1
151
  is_nullable: 1
118
  size: 15
152
  size: 15
119
153
154
the IP address for your library or branch
155
120
=head2 branchnotes
156
=head2 branchnotes
121
157
122
  data_type: 'longtext'
158
  data_type: 'longtext'
123
  is_nullable: 1
159
  is_nullable: 1
124
160
161
notes related to your library or branch
162
125
=head2 opac_info
163
=head2 opac_info
126
164
127
  data_type: 'mediumtext'
165
  data_type: 'mediumtext'
128
  is_nullable: 1
166
  is_nullable: 1
129
167
168
HTML that displays in OPAC
169
130
=head2 geolocation
170
=head2 geolocation
131
171
132
  data_type: 'varchar'
172
  data_type: 'varchar'
133
  is_nullable: 1
173
  is_nullable: 1
134
  size: 255
174
  size: 255
135
175
176
geolocation of your library
177
136
=head2 marcorgcode
178
=head2 marcorgcode
137
179
138
  data_type: 'varchar'
180
  data_type: 'varchar'
139
  is_nullable: 1
181
  is_nullable: 1
140
  size: 16
182
  size: 16
141
183
184
MARC Organization Code, see http://www.loc.gov/marc/organizations/orgshome.html, when empty defaults to syspref MARCOrgCode
185
142
=head2 pickup_location
186
=head2 pickup_location
143
187
144
  data_type: 'tinyint'
188
  data_type: 'tinyint'
145
  default_value: 1
189
  default_value: 1
146
  is_nullable: 0
190
  is_nullable: 0
147
191
192
the ability to act as a pickup location
193
148
=cut
194
=cut
149
195
150
__PACKAGE__->add_columns(
196
__PACKAGE__->add_columns(
Lines 841-848 __PACKAGE__->has_many( Link Here
841
);
887
);
842
888
843
889
844
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-11-11 14:23:25
890
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
845
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pOqM3Rfe/H4J+m1XxVfaUQ
891
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FUQJRPdycQ8UH7ddEp/ZmQ
846
892
847
__PACKAGE__->add_columns(
893
__PACKAGE__->add_columns(
848
    '+pickup_location' => { is_boolean => 1 }
894
    '+pickup_location' => { is_boolean => 1 }
(-)a/Koha/Schema/Result/Branchtransfer.pm (-2 / +20 lines)
Lines 29-34 __PACKAGE__->table("branchtransfers"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
primary key
33
32
=head2 itemnumber
34
=head2 itemnumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
Lines 36-41 __PACKAGE__->table("branchtransfers"); Link Here
36
  is_foreign_key: 1
38
  is_foreign_key: 1
37
  is_nullable: 0
39
  is_nullable: 0
38
40
41
the itemnumber that it is in transit (items.itemnumber)
42
39
=head2 daterequested
43
=head2 daterequested
40
44
41
  data_type: 'timestamp'
45
  data_type: 'timestamp'
Lines 43-54 __PACKAGE__->table("branchtransfers"); Link Here
43
  default_value: current_timestamp
47
  default_value: current_timestamp
44
  is_nullable: 0
48
  is_nullable: 0
45
49
50
the date the transfer was requested
51
46
=head2 datesent
52
=head2 datesent
47
53
48
  data_type: 'datetime'
54
  data_type: 'datetime'
49
  datetime_undef_if_invalid: 1
55
  datetime_undef_if_invalid: 1
50
  is_nullable: 1
56
  is_nullable: 1
51
57
58
the date the transfer was initialized
59
52
=head2 frombranch
60
=head2 frombranch
53
61
54
  data_type: 'varchar'
62
  data_type: 'varchar'
Lines 57-68 __PACKAGE__->table("branchtransfers"); Link Here
57
  is_nullable: 0
65
  is_nullable: 0
58
  size: 10
66
  size: 10
59
67
68
the branch the transfer is coming from
69
60
=head2 datearrived
70
=head2 datearrived
61
71
62
  data_type: 'datetime'
72
  data_type: 'datetime'
63
  datetime_undef_if_invalid: 1
73
  datetime_undef_if_invalid: 1
64
  is_nullable: 1
74
  is_nullable: 1
65
75
76
the date the transfer arrived at its destination
77
66
=head2 tobranch
78
=head2 tobranch
67
79
68
  data_type: 'varchar'
80
  data_type: 'varchar'
Lines 71-87 __PACKAGE__->table("branchtransfers"); Link Here
71
  is_nullable: 0
83
  is_nullable: 0
72
  size: 10
84
  size: 10
73
85
86
the branch the transfer was going to
87
74
=head2 comments
88
=head2 comments
75
89
76
  data_type: 'longtext'
90
  data_type: 'longtext'
77
  is_nullable: 1
91
  is_nullable: 1
78
92
93
any comments related to the transfer
94
79
=head2 reason
95
=head2 reason
80
96
81
  data_type: 'enum'
97
  data_type: 'enum'
82
  extra: {list => ["Manual","StockrotationAdvance","StockrotationRepatriation","ReturnToHome","ReturnToHolding","RotatingCollection","Reserve","LostReserve","CancelReserve"]}
98
  extra: {list => ["Manual","StockrotationAdvance","StockrotationRepatriation","ReturnToHome","ReturnToHolding","RotatingCollection","Reserve","LostReserve","CancelReserve"]}
83
  is_nullable: 1
99
  is_nullable: 1
84
100
101
what triggered the transfer
102
85
=cut
103
=cut
86
104
87
__PACKAGE__->add_columns(
105
__PACKAGE__->add_columns(
Lines 211-218 __PACKAGE__->belongs_to( Link Here
211
);
229
);
212
230
213
231
214
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-20 12:30:59
232
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
215
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:G5GZTxF8X/mcIKXmuGVWIQ
233
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IEqGHqb6OH7sn8Cf1ea64Q
216
234
217
sub koha_object_class {
235
sub koha_object_class {
218
    'Koha::Item::Transfer';
236
    'Koha::Item::Transfer';
(-)a/Koha/Schema/Result/CashRegister.pm (-2 / +16 lines)
Lines 29-45 __PACKAGE__->table("cash_registers"); 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 for each account register
33
32
=head2 name
34
=head2 name
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
35
  is_nullable: 0
37
  is_nullable: 0
36
  size: 24
38
  size: 24
37
39
40
the user friendly identifier for each account register
41
38
=head2 description
42
=head2 description
39
43
40
  data_type: 'longtext'
44
  data_type: 'longtext'
41
  is_nullable: 0
45
  is_nullable: 0
42
46
47
the user friendly description for each account register
48
43
=head2 branch
49
=head2 branch
44
50
45
  data_type: 'varchar'
51
  data_type: 'varchar'
Lines 47-70 __PACKAGE__->table("cash_registers"); Link Here
47
  is_nullable: 0
53
  is_nullable: 0
48
  size: 10
54
  size: 10
49
55
56
the foreign key the library this account register belongs
57
50
=head2 branch_default
58
=head2 branch_default
51
59
52
  data_type: 'tinyint'
60
  data_type: 'tinyint'
53
  default_value: 0
61
  default_value: 0
54
  is_nullable: 0
62
  is_nullable: 0
55
63
64
boolean flag to denote that this till is the branch default
65
56
=head2 starting_float
66
=head2 starting_float
57
67
58
  data_type: 'decimal'
68
  data_type: 'decimal'
59
  is_nullable: 1
69
  is_nullable: 1
60
  size: [28,6]
70
  size: [28,6]
61
71
72
the starting float this account register should be assigned
73
62
=head2 archived
74
=head2 archived
63
75
64
  data_type: 'tinyint'
76
  data_type: 'tinyint'
65
  default_value: 0
77
  default_value: 0
66
  is_nullable: 0
78
  is_nullable: 0
67
79
80
boolean flag to denote if this till is archived or not
81
68
=cut
82
=cut
69
83
70
__PACKAGE__->add_columns(
84
__PACKAGE__->add_columns(
Lines 160-167 __PACKAGE__->has_many( Link Here
160
);
174
);
161
175
162
176
163
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-07-23 13:21:03
177
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
164
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zP8my0Zp5bSARTBfws4n1A
178
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Hg0mW8a2VRb6Pm5FfcnuQw
165
179
166
__PACKAGE__->add_columns(
180
__PACKAGE__->add_columns(
167
    '+archived'       => { is_boolean => 1 },
181
    '+archived'       => { is_boolean => 1 },
(-)a/Koha/Schema/Result/CashRegisterAction.pm (-2 / +12 lines)
Lines 29-58 __PACKAGE__->table("cash_register_actions"); 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 for each account register action
33
32
=head2 code
34
=head2 code
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
35
  is_nullable: 0
37
  is_nullable: 0
36
  size: 24
38
  size: 24
37
39
40
action code denoting the type of action recorded (enum),
41
38
=head2 register_id
42
=head2 register_id
39
43
40
  data_type: 'integer'
44
  data_type: 'integer'
41
  is_foreign_key: 1
45
  is_foreign_key: 1
42
  is_nullable: 0
46
  is_nullable: 0
43
47
48
id of cash_register this action belongs to,
49
44
=head2 manager_id
50
=head2 manager_id
45
51
46
  data_type: 'integer'
52
  data_type: 'integer'
47
  is_foreign_key: 1
53
  is_foreign_key: 1
48
  is_nullable: 0
54
  is_nullable: 0
49
55
56
staff member performing the action
57
50
=head2 amount
58
=head2 amount
51
59
52
  data_type: 'decimal'
60
  data_type: 'decimal'
53
  is_nullable: 1
61
  is_nullable: 1
54
  size: [28,6]
62
  size: [28,6]
55
63
64
amount recorded in action (signed)
65
56
=head2 timestamp
66
=head2 timestamp
57
67
58
  data_type: 'timestamp'
68
  data_type: 'timestamp'
Lines 127-134 __PACKAGE__->belongs_to( Link Here
127
);
137
);
128
138
129
139
130
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-07-23 13:21:03
140
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
131
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Oaee+hS82IEJHHBGuOXDtw
141
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:skIDbja7UDxRbMZ0zqMgDQ
132
142
133
sub koha_objects_class {
143
sub koha_objects_class {
134
    'Koha::Cash::Register::Actions';
144
    'Koha::Cash::Register::Actions';
(-)a/Koha/Schema/Result/Category.pm (-2 / +44 lines)
Lines 30-67 __PACKAGE__->table("categories"); Link Here
30
  is_nullable: 0
30
  is_nullable: 0
31
  size: 10
31
  size: 10
32
32
33
unique primary key used to idenfity the patron category
34
33
=head2 description
35
=head2 description
34
36
35
  data_type: 'longtext'
37
  data_type: 'longtext'
36
  is_nullable: 1
38
  is_nullable: 1
37
39
40
description of the patron category
41
38
=head2 enrolmentperiod
42
=head2 enrolmentperiod
39
43
40
  data_type: 'smallint'
44
  data_type: 'smallint'
41
  is_nullable: 1
45
  is_nullable: 1
42
46
47
number of months the patron is enrolled for (will be NULL if enrolmentperioddate is set)
48
43
=head2 enrolmentperioddate
49
=head2 enrolmentperioddate
44
50
45
  data_type: 'date'
51
  data_type: 'date'
46
  datetime_undef_if_invalid: 1
52
  datetime_undef_if_invalid: 1
47
  is_nullable: 1
53
  is_nullable: 1
48
54
55
date the patron is enrolled until (will be NULL if enrolmentperiod is set)
56
49
=head2 upperagelimit
57
=head2 upperagelimit
50
58
51
  data_type: 'smallint'
59
  data_type: 'smallint'
52
  is_nullable: 1
60
  is_nullable: 1
53
61
62
age limit for the patron
63
54
=head2 dateofbirthrequired
64
=head2 dateofbirthrequired
55
65
56
  data_type: 'tinyint'
66
  data_type: 'tinyint'
57
  is_nullable: 1
67
  is_nullable: 1
58
68
69
the minimum age required for the patron category
70
59
=head2 finetype
71
=head2 finetype
60
72
61
  data_type: 'varchar'
73
  data_type: 'varchar'
62
  is_nullable: 1
74
  is_nullable: 1
63
  size: 30
75
  size: 30
64
76
77
unused in Koha
78
65
=head2 bulk
79
=head2 bulk
66
80
67
  data_type: 'tinyint'
81
  data_type: 'tinyint'
Lines 73-100 __PACKAGE__->table("categories"); Link Here
73
  is_nullable: 1
87
  is_nullable: 1
74
  size: [28,6]
88
  size: [28,6]
75
89
90
enrollment fee for the patron
91
76
=head2 overduenoticerequired
92
=head2 overduenoticerequired
77
93
78
  data_type: 'tinyint'
94
  data_type: 'tinyint'
79
  is_nullable: 1
95
  is_nullable: 1
80
96
97
are overdue notices sent to this patron category (1 for yes, 0 for no)
98
81
=head2 issuelimit
99
=head2 issuelimit
82
100
83
  data_type: 'smallint'
101
  data_type: 'smallint'
84
  is_nullable: 1
102
  is_nullable: 1
85
103
104
unused in Koha
105
86
=head2 reservefee
106
=head2 reservefee
87
107
88
  data_type: 'decimal'
108
  data_type: 'decimal'
89
  is_nullable: 1
109
  is_nullable: 1
90
  size: [28,6]
110
  size: [28,6]
91
111
112
cost to place holds
113
92
=head2 hidelostitems
114
=head2 hidelostitems
93
115
94
  data_type: 'tinyint'
116
  data_type: 'tinyint'
95
  default_value: 0
117
  default_value: 0
96
  is_nullable: 0
118
  is_nullable: 0
97
119
120
are lost items shown to this category (1 for yes, 0 for no)
121
98
=head2 category_type
122
=head2 category_type
99
123
100
  data_type: 'varchar'
124
  data_type: 'varchar'
Lines 102-107 __PACKAGE__->table("categories"); Link Here
102
  is_nullable: 0
126
  is_nullable: 0
103
  size: 1
127
  size: 1
104
128
129
type of Koha patron (Adult, Child, Professional, Organizational, Statistical, Staff)
130
105
=head2 BlockExpiredPatronOpacActions
131
=head2 BlockExpiredPatronOpacActions
106
132
107
  accessor: 'block_expired_patron_opac_actions'
133
  accessor: 'block_expired_patron_opac_actions'
Lines 109-114 __PACKAGE__->table("categories"); Link Here
109
  default_value: -1
135
  default_value: -1
110
  is_nullable: 0
136
  is_nullable: 0
111
137
138
wheither or not a patron of this category can renew books or place holds once their card has expired. 0 means they can, 1 means they cannot, -1 means use syspref BlockExpiredPatronOpacActions
139
112
=head2 default_privacy
140
=head2 default_privacy
113
141
114
  data_type: 'enum'
142
  data_type: 'enum'
Lines 116-121 __PACKAGE__->table("categories"); Link Here
116
  extra: {list => ["default","never","forever"]}
144
  extra: {list => ["default","never","forever"]}
117
  is_nullable: 0
145
  is_nullable: 0
118
146
147
Default privacy setting for this patron category
148
119
=head2 checkprevcheckout
149
=head2 checkprevcheckout
120
150
121
  data_type: 'varchar'
151
  data_type: 'varchar'
Lines 123-153 __PACKAGE__->table("categories"); Link Here
123
  is_nullable: 0
153
  is_nullable: 0
124
  size: 7
154
  size: 7
125
155
156
produce a warning for this patron category if this item has previously been checked out to this patron if 'yes', not if 'no', defer to syspref setting if 'inherit'.
157
126
=head2 reset_password
158
=head2 reset_password
127
159
128
  data_type: 'tinyint'
160
  data_type: 'tinyint'
129
  is_nullable: 1
161
  is_nullable: 1
130
162
163
if patrons of this category can do the password reset flow,
164
131
=head2 change_password
165
=head2 change_password
132
166
133
  data_type: 'tinyint'
167
  data_type: 'tinyint'
134
  is_nullable: 1
168
  is_nullable: 1
135
169
170
if patrons of this category can change their passwords in the OAPC
171
136
=head2 min_password_length
172
=head2 min_password_length
137
173
138
  data_type: 'smallint'
174
  data_type: 'smallint'
139
  is_nullable: 1
175
  is_nullable: 1
140
176
177
set minimum password length for patrons in this category
178
141
=head2 require_strong_password
179
=head2 require_strong_password
142
180
143
  data_type: 'tinyint'
181
  data_type: 'tinyint'
144
  is_nullable: 1
182
  is_nullable: 1
145
183
184
set required password strength for patrons in this category
185
146
=head2 exclude_from_local_holds_priority
186
=head2 exclude_from_local_holds_priority
147
187
148
  data_type: 'tinyint'
188
  data_type: 'tinyint'
149
  is_nullable: 1
189
  is_nullable: 1
150
190
191
Exclude patrons of this category from local holds priority
192
151
=cut
193
=cut
152
194
153
__PACKAGE__->add_columns(
195
__PACKAGE__->add_columns(
Lines 302-309 __PACKAGE__->has_many( Link Here
302
);
344
);
303
345
304
346
305
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-09-18 09:33:32
347
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
306
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ab4IZUfNu63C/SWLPXlMNg
348
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:K1jfTo+O5QHkRxrss9Xs3Q
307
349
308
__PACKAGE__->add_columns(
350
__PACKAGE__->add_columns(
309
    '+exclude_from_local_holds_priority' => { is_boolean => 1 },
351
    '+exclude_from_local_holds_priority' => { is_boolean => 1 },
(-)a/Koha/Schema/Result/City.pm (-2 / +12 lines)
Lines 29-34 __PACKAGE__->table("cities"); 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 added by Koha
33
32
=head2 city_name
34
=head2 city_name
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
Lines 36-59 __PACKAGE__->table("cities"); Link Here
36
  is_nullable: 0
38
  is_nullable: 0
37
  size: 100
39
  size: 100
38
40
41
name of the city
42
39
=head2 city_state
43
=head2 city_state
40
44
41
  data_type: 'varchar'
45
  data_type: 'varchar'
42
  is_nullable: 1
46
  is_nullable: 1
43
  size: 100
47
  size: 100
44
48
49
name of the state/province
50
45
=head2 city_country
51
=head2 city_country
46
52
47
  data_type: 'varchar'
53
  data_type: 'varchar'
48
  is_nullable: 1
54
  is_nullable: 1
49
  size: 100
55
  size: 100
50
56
57
name of the country
58
51
=head2 city_zipcode
59
=head2 city_zipcode
52
60
53
  data_type: 'varchar'
61
  data_type: 'varchar'
54
  is_nullable: 1
62
  is_nullable: 1
55
  size: 20
63
  size: 20
56
64
65
zip or postal code
66
57
=cut
67
=cut
58
68
59
__PACKAGE__->add_columns(
69
__PACKAGE__->add_columns(
Lines 82-89 __PACKAGE__->add_columns( Link Here
82
__PACKAGE__->set_primary_key("cityid");
92
__PACKAGE__->set_primary_key("cityid");
83
93
84
94
85
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
95
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
86
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zEjfS65sp13yF7dH8/ojZQ
96
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YFqwNwP1HDwU1TcJyn1SQw
87
97
88
sub koha_objects_class {
98
sub koha_objects_class {
89
    'Koha::Cities';
99
    'Koha::Cities';
(-)a/Koha/Schema/Result/ClubHold.pm (-2 / +10 lines)
Lines 35-52 __PACKAGE__->table("club_holds"); Link Here
35
  is_foreign_key: 1
35
  is_foreign_key: 1
36
  is_nullable: 0
36
  is_nullable: 0
37
37
38
id for the club the hold was generated for
39
38
=head2 biblio_id
40
=head2 biblio_id
39
41
40
  data_type: 'integer'
42
  data_type: 'integer'
41
  is_foreign_key: 1
43
  is_foreign_key: 1
42
  is_nullable: 0
44
  is_nullable: 0
43
45
46
id for the bibliographic record the hold has been placed against
47
44
=head2 item_id
48
=head2 item_id
45
49
46
  data_type: 'integer'
50
  data_type: 'integer'
47
  is_foreign_key: 1
51
  is_foreign_key: 1
48
  is_nullable: 1
52
  is_nullable: 1
49
53
54
If item-level, the id for the item the hold has been placed agains
55
50
=head2 date_created
56
=head2 date_created
51
57
52
  data_type: 'timestamp'
58
  data_type: 'timestamp'
Lines 54-59 __PACKAGE__->table("club_holds"); Link Here
54
  default_value: current_timestamp
60
  default_value: current_timestamp
55
  is_nullable: 0
61
  is_nullable: 0
56
62
63
Timestamp for the placed hold
64
57
=cut
65
=cut
58
66
59
__PACKAGE__->add_columns(
67
__PACKAGE__->add_columns(
Lines 154-161 __PACKAGE__->belongs_to( Link Here
154
);
162
);
155
163
156
164
157
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-01 07:08:47
165
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
158
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FYGXVx1P2R+dGbeP1xshPA
166
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:NE3PDCJ01WPZr5THKRrhiQ
159
167
160
sub koha_objects_class {
168
sub koha_objects_class {
161
    'Koha::Club::Holds';
169
    'Koha::Club::Holds';
(-)a/Koha/Schema/Result/Collection.pm (-2 / +4 lines)
Lines 52-57 __PACKAGE__->table("collections"); Link Here
52
  is_nullable: 1
52
  is_nullable: 1
53
  size: 10
53
  size: 10
54
54
55
'branchcode for branch where item should be held.'
56
55
=cut
57
=cut
56
58
57
__PACKAGE__->add_columns(
59
__PACKAGE__->add_columns(
Lines 117-124 __PACKAGE__->belongs_to( Link Here
117
);
119
);
118
120
119
121
120
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
122
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
121
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Nx6GPmSO3ckjDmF7dz0DKA
123
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:csLFex12w89wWao3pJikFA
122
124
123
125
124
# You can replace this text with custom content, and it will be preserved on regeneration
126
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Course.pm (-2 / +22 lines)
Lines 29-80 __PACKAGE__->table("courses"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
unique id for the course
33
32
=head2 department
34
=head2 department
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
35
  is_nullable: 1
37
  is_nullable: 1
36
  size: 80
38
  size: 80
37
39
40
the authorised value for the DEPARTMENT
41
38
=head2 course_number
42
=head2 course_number
39
43
40
  data_type: 'varchar'
44
  data_type: 'varchar'
41
  is_nullable: 1
45
  is_nullable: 1
42
  size: 255
46
  size: 255
43
47
48
the 'course number' assigned to a course
49
44
=head2 section
50
=head2 section
45
51
46
  data_type: 'varchar'
52
  data_type: 'varchar'
47
  is_nullable: 1
53
  is_nullable: 1
48
  size: 255
54
  size: 255
49
55
56
the 'section' of a course
57
50
=head2 course_name
58
=head2 course_name
51
59
52
  data_type: 'varchar'
60
  data_type: 'varchar'
53
  is_nullable: 1
61
  is_nullable: 1
54
  size: 255
62
  size: 255
55
63
64
the name of the course
65
56
=head2 term
66
=head2 term
57
67
58
  data_type: 'varchar'
68
  data_type: 'varchar'
59
  is_nullable: 1
69
  is_nullable: 1
60
  size: 80
70
  size: 80
61
71
72
the authorised value for the TERM
73
62
=head2 staff_note
74
=head2 staff_note
63
75
64
  data_type: 'longtext'
76
  data_type: 'longtext'
65
  is_nullable: 1
77
  is_nullable: 1
66
78
79
the text of the staff only note
80
67
=head2 public_note
81
=head2 public_note
68
82
69
  data_type: 'longtext'
83
  data_type: 'longtext'
70
  is_nullable: 1
84
  is_nullable: 1
71
85
86
the text of the public / opac note
87
72
=head2 students_count
88
=head2 students_count
73
89
74
  data_type: 'varchar'
90
  data_type: 'varchar'
75
  is_nullable: 1
91
  is_nullable: 1
76
  size: 20
92
  size: 20
77
93
94
how many students will be taking this course/section
95
78
=head2 enabled
96
=head2 enabled
79
97
80
  data_type: 'enum'
98
  data_type: 'enum'
Lines 82-87 __PACKAGE__->table("courses"); Link Here
82
  extra: {list => ["yes","no"]}
100
  extra: {list => ["yes","no"]}
83
  is_nullable: 0
101
  is_nullable: 0
84
102
103
determines whether the course is active
104
85
=head2 timestamp
105
=head2 timestamp
86
106
87
  data_type: 'timestamp'
107
  data_type: 'timestamp'
Lines 181-188 Composing rels: L</course_instructors> -> borrowernumber Link Here
181
__PACKAGE__->many_to_many("borrowernumbers", "course_instructors", "borrowernumber");
201
__PACKAGE__->many_to_many("borrowernumbers", "course_instructors", "borrowernumber");
182
202
183
203
184
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
204
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
185
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:o0EBOuJCHxH5IG/PgsJfxg
205
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ePAT/DLyVd0BklkxL6q3Jg
186
206
187
207
188
# You can replace this text with custom content, and it will be preserved on regeneration
208
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/CourseInstructor.pm (-2 / +6 lines)
Lines 29-40 __PACKAGE__->table("course_instructors"); Link Here
29
  is_foreign_key: 1
29
  is_foreign_key: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
foreign key to link to courses.course_id
33
32
=head2 borrowernumber
34
=head2 borrowernumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
foreign key to link to borrowers.borrowernumber for instructor information
41
38
=cut
42
=cut
39
43
40
__PACKAGE__->add_columns(
44
__PACKAGE__->add_columns(
Lines 91-98 __PACKAGE__->belongs_to( Link Here
91
);
95
);
92
96
93
97
94
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
98
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
95
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7vP3bJ0YA6LEepYOaNg++A
99
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:srMXE9huuvvZXpiLXkHMuA
96
100
97
sub koha_objects_class {
101
sub koha_objects_class {
98
    'Koha::Course::Instructors';
102
    'Koha::Course::Instructors';
(-)a/Koha/Schema/Result/CourseItem.pm (-2 / +38 lines)
Lines 29-76 __PACKAGE__->table("course_items"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
course item id
33
32
=head2 itemnumber
34
=head2 itemnumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
items.itemnumber for the item on reserve
41
38
=head2 itype
42
=head2 itype
39
43
40
  data_type: 'varchar'
44
  data_type: 'varchar'
41
  is_nullable: 1
45
  is_nullable: 1
42
  size: 10
46
  size: 10
43
47
48
new itemtype for the item to have while on reserve (optional)
49
44
=head2 itype_enabled
50
=head2 itype_enabled
45
51
46
  data_type: 'tinyint'
52
  data_type: 'tinyint'
47
  default_value: 0
53
  default_value: 0
48
  is_nullable: 0
54
  is_nullable: 0
49
55
56
indicates if itype should be changed while on course reserve
57
50
=head2 itype_storage
58
=head2 itype_storage
51
59
52
  data_type: 'varchar'
60
  data_type: 'varchar'
53
  is_nullable: 1
61
  is_nullable: 1
54
  size: 10
62
  size: 10
55
63
64
a place to store the itype when item is on course reserve
65
56
=head2 ccode
66
=head2 ccode
57
67
58
  data_type: 'varchar'
68
  data_type: 'varchar'
59
  is_nullable: 1
69
  is_nullable: 1
60
  size: 80
70
  size: 80
61
71
72
new category code for the item to have while on reserve (optional)
73
62
=head2 ccode_enabled
74
=head2 ccode_enabled
63
75
64
  data_type: 'tinyint'
76
  data_type: 'tinyint'
65
  default_value: 0
77
  default_value: 0
66
  is_nullable: 0
78
  is_nullable: 0
67
79
80
indicates if ccode should be changed while on course reserve
81
68
=head2 ccode_storage
82
=head2 ccode_storage
69
83
70
  data_type: 'varchar'
84
  data_type: 'varchar'
71
  is_nullable: 1
85
  is_nullable: 1
72
  size: 80
86
  size: 80
73
87
88
a place to store the ccode when item is on course reserve
89
74
=head2 homebranch
90
=head2 homebranch
75
91
76
  data_type: 'varchar'
92
  data_type: 'varchar'
Lines 78-89 __PACKAGE__->table("course_items"); Link Here
78
  is_nullable: 1
94
  is_nullable: 1
79
  size: 10
95
  size: 10
80
96
97
new home branch for the item to have while on reserve (optional)
98
81
=head2 homebranch_enabled
99
=head2 homebranch_enabled
82
100
83
  data_type: 'tinyint'
101
  data_type: 'tinyint'
84
  default_value: 0
102
  default_value: 0
85
  is_nullable: 0
103
  is_nullable: 0
86
104
105
indicates if homebranch should be changed while on course reserve
106
87
=head2 homebranch_storage
107
=head2 homebranch_storage
88
108
89
  data_type: 'varchar'
109
  data_type: 'varchar'
Lines 91-96 __PACKAGE__->table("course_items"); Link Here
91
  is_nullable: 1
111
  is_nullable: 1
92
  size: 10
112
  size: 10
93
113
114
a place to store the homebranch when item is on course reserve
115
94
=head2 holdingbranch
116
=head2 holdingbranch
95
117
96
  data_type: 'varchar'
118
  data_type: 'varchar'
Lines 98-133 __PACKAGE__->table("course_items"); Link Here
98
  is_nullable: 1
120
  is_nullable: 1
99
  size: 10
121
  size: 10
100
122
123
new holding branch for the item to have while on reserve (optional)
124
101
=head2 holdingbranch_enabled
125
=head2 holdingbranch_enabled
102
126
103
  data_type: 'tinyint'
127
  data_type: 'tinyint'
104
  default_value: 0
128
  default_value: 0
105
  is_nullable: 0
129
  is_nullable: 0
106
130
131
indicates if itype should be changed while on course reserve
132
107
=head2 holdingbranch_storage
133
=head2 holdingbranch_storage
108
134
109
  data_type: 'varchar'
135
  data_type: 'varchar'
110
  is_nullable: 1
136
  is_nullable: 1
111
  size: 10
137
  size: 10
112
138
139
a place to store the holdingbranch when item is on course reserve
140
113
=head2 location
141
=head2 location
114
142
115
  data_type: 'varchar'
143
  data_type: 'varchar'
116
  is_nullable: 1
144
  is_nullable: 1
117
  size: 80
145
  size: 80
118
146
147
new shelving location for the item to have while on reseve (optional)
148
119
=head2 location_enabled
149
=head2 location_enabled
120
150
121
  data_type: 'tinyint'
151
  data_type: 'tinyint'
122
  default_value: 0
152
  default_value: 0
123
  is_nullable: 0
153
  is_nullable: 0
124
154
155
indicates if itype should be changed while on course reserve
156
125
=head2 location_storage
157
=head2 location_storage
126
158
127
  data_type: 'varchar'
159
  data_type: 'varchar'
128
  is_nullable: 1
160
  is_nullable: 1
129
  size: 80
161
  size: 80
130
162
163
a place to store the location when the item is on course reserve
164
131
=head2 enabled
165
=head2 enabled
132
166
133
  data_type: 'enum'
167
  data_type: 'enum'
Lines 135-140 __PACKAGE__->table("course_items"); Link Here
135
  extra: {list => ["yes","no"]}
169
  extra: {list => ["yes","no"]}
136
  is_nullable: 0
170
  is_nullable: 0
137
171
172
if at least one enabled course has this item on reseve, this field will be 'yes', otherwise it will be 'no'
173
138
=head2 timestamp
174
=head2 timestamp
139
175
140
  data_type: 'timestamp'
176
  data_type: 'timestamp'
Lines 314-321 __PACKAGE__->belongs_to( Link Here
314
);
350
);
315
351
316
352
317
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-04-24 10:54:54
353
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
318
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cXNlGAgIZMs+Id7/FJSBRQ
354
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:D5zO+P3v2EPLTS6dde4YMw
319
355
320
__PACKAGE__->add_columns(
356
__PACKAGE__->add_columns(
321
    '+itype_enabled'         => { is_boolean => 1 },
357
    '+itype_enabled'         => { is_boolean => 1 },
(-)a/Koha/Schema/Result/CourseReserve.pm (-2 / +10 lines)
Lines 35-56 __PACKAGE__->table("course_reserves"); Link Here
35
  is_foreign_key: 1
35
  is_foreign_key: 1
36
  is_nullable: 0
36
  is_nullable: 0
37
37
38
foreign key to link to courses.course_id
39
38
=head2 ci_id
40
=head2 ci_id
39
41
40
  data_type: 'integer'
42
  data_type: 'integer'
41
  is_foreign_key: 1
43
  is_foreign_key: 1
42
  is_nullable: 0
44
  is_nullable: 0
43
45
46
foreign key to link to courses_items.ci_id
47
44
=head2 staff_note
48
=head2 staff_note
45
49
46
  data_type: 'longtext'
50
  data_type: 'longtext'
47
  is_nullable: 1
51
  is_nullable: 1
48
52
53
staff only note
54
49
=head2 public_note
55
=head2 public_note
50
56
51
  data_type: 'longtext'
57
  data_type: 'longtext'
52
  is_nullable: 1
58
  is_nullable: 1
53
59
60
public, OPAC visible note
61
54
=head2 timestamp
62
=head2 timestamp
55
63
56
  data_type: 'timestamp'
64
  data_type: 'timestamp'
Lines 141-148 __PACKAGE__->belongs_to( Link Here
141
);
149
);
142
150
143
151
144
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
152
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
145
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8SDdUrbxKuAwp6rgn85RmA
153
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jPqC4AvNvugDK1fZIssJyw
146
154
147
sub koha_objects_class {
155
sub koha_objects_class {
148
    'Koha::Course::Reserves';
156
    'Koha::Course::Reserves';
(-)a/Koha/Schema/Result/CoverImage.pm (-2 / +16 lines)
Lines 29-62 __PACKAGE__->table("cover_images"); 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 for the image
33
32
=head2 biblionumber
34
=head2 biblionumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 1
38
  is_nullable: 1
37
39
40
foreign key from biblio table to link to biblionumber
41
38
=head2 itemnumber
42
=head2 itemnumber
39
43
40
  data_type: 'integer'
44
  data_type: 'integer'
41
  is_foreign_key: 1
45
  is_foreign_key: 1
42
  is_nullable: 1
46
  is_nullable: 1
43
47
48
foreign key from item table to link to itemnumber
49
44
=head2 mimetype
50
=head2 mimetype
45
51
46
  data_type: 'varchar'
52
  data_type: 'varchar'
47
  is_nullable: 0
53
  is_nullable: 0
48
  size: 15
54
  size: 15
49
55
56
image type
57
50
=head2 imagefile
58
=head2 imagefile
51
59
52
  data_type: 'mediumblob'
60
  data_type: 'mediumblob'
53
  is_nullable: 0
61
  is_nullable: 0
54
62
63
image file contents
64
55
=head2 thumbnail
65
=head2 thumbnail
56
66
57
  data_type: 'mediumblob'
67
  data_type: 'mediumblob'
58
  is_nullable: 0
68
  is_nullable: 0
59
69
70
thumbnail file contents
71
60
=head2 timestamp
72
=head2 timestamp
61
73
62
  data_type: 'timestamp'
74
  data_type: 'timestamp'
Lines 64-69 __PACKAGE__->table("cover_images"); Link Here
64
  default_value: current_timestamp
76
  default_value: current_timestamp
65
  is_nullable: 0
77
  is_nullable: 0
66
78
79
image creation/update time
80
67
=cut
81
=cut
68
82
69
__PACKAGE__->add_columns(
83
__PACKAGE__->add_columns(
Lines 143-150 __PACKAGE__->belongs_to( Link Here
143
);
157
);
144
158
145
159
146
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-10-12 09:13:32
160
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
147
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:F8pfwsORemCIxoVAPIohXw
161
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LdHgdqpdXRqSSklRec/2Uw
148
162
149
163
150
# You can replace this text with custom code or comments, and it will be preserved on regeneration
164
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Deletedbiblio.pm (-2 / +32 lines)
Lines 29-34 __PACKAGE__->table("deletedbiblio"); 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 bibliographic record
33
32
=head2 frameworkcode
34
=head2 frameworkcode
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
Lines 36-86 __PACKAGE__->table("deletedbiblio"); Link Here
36
  is_nullable: 0
38
  is_nullable: 0
37
  size: 4
39
  size: 4
38
40
41
foriegn key from the biblio_framework table to identify which framework was used in cataloging this record
42
39
=head2 author
43
=head2 author
40
44
41
  data_type: 'longtext'
45
  data_type: 'longtext'
42
  is_nullable: 1
46
  is_nullable: 1
43
47
48
statement of responsibility from MARC record (100$a in MARC21)
49
44
=head2 title
50
=head2 title
45
51
46
  data_type: 'longtext'
52
  data_type: 'longtext'
47
  is_nullable: 1
53
  is_nullable: 1
48
54
55
title (without the subtitle) from the MARC record (245$a in MARC21)
56
49
=head2 medium
57
=head2 medium
50
58
51
  data_type: 'longtext'
59
  data_type: 'longtext'
52
  is_nullable: 1
60
  is_nullable: 1
53
61
62
medium from the MARC record (245$h in MARC21)
63
54
=head2 subtitle
64
=head2 subtitle
55
65
56
  data_type: 'longtext'
66
  data_type: 'longtext'
57
  is_nullable: 1
67
  is_nullable: 1
58
68
69
remainder of the title from the MARC record (245$b in MARC21)
70
59
=head2 part_number
71
=head2 part_number
60
72
61
  data_type: 'longtext'
73
  data_type: 'longtext'
62
  is_nullable: 1
74
  is_nullable: 1
63
75
76
part number from the MARC record (245$n in MARC21)
77
64
=head2 part_name
78
=head2 part_name
65
79
66
  data_type: 'longtext'
80
  data_type: 'longtext'
67
  is_nullable: 1
81
  is_nullable: 1
68
82
83
part name from the MARC record (245$p in MARC21)
84
69
=head2 unititle
85
=head2 unititle
70
86
71
  data_type: 'longtext'
87
  data_type: 'longtext'
72
  is_nullable: 1
88
  is_nullable: 1
73
89
90
uniform title (without the subtitle) from the MARC record (240$a in MARC21)
91
74
=head2 notes
92
=head2 notes
75
93
76
  data_type: 'longtext'
94
  data_type: 'longtext'
77
  is_nullable: 1
95
  is_nullable: 1
78
96
97
values from the general notes field in the MARC record (500$a in MARC21) split by bar (|)
98
79
=head2 serial
99
=head2 serial
80
100
81
  data_type: 'tinyint'
101
  data_type: 'tinyint'
82
  is_nullable: 1
102
  is_nullable: 1
83
103
104
Boolean indicating whether biblio is for a serial
105
84
=head2 seriestitle
106
=head2 seriestitle
85
107
86
  data_type: 'longtext'
108
  data_type: 'longtext'
Lines 91-96 __PACKAGE__->table("deletedbiblio"); Link Here
91
  data_type: 'smallint'
113
  data_type: 'smallint'
92
  is_nullable: 1
114
  is_nullable: 1
93
115
116
publication or copyright date from the MARC record
117
94
=head2 timestamp
118
=head2 timestamp
95
119
96
  data_type: 'timestamp'
120
  data_type: 'timestamp'
Lines 98-114 __PACKAGE__->table("deletedbiblio"); Link Here
98
  default_value: current_timestamp
122
  default_value: current_timestamp
99
  is_nullable: 0
123
  is_nullable: 0
100
124
125
date and time this record was last touched
126
101
=head2 datecreated
127
=head2 datecreated
102
128
103
  data_type: 'date'
129
  data_type: 'date'
104
  datetime_undef_if_invalid: 1
130
  datetime_undef_if_invalid: 1
105
  is_nullable: 0
131
  is_nullable: 0
106
132
133
the date this record was added to Koha
134
107
=head2 abstract
135
=head2 abstract
108
136
109
  data_type: 'longtext'
137
  data_type: 'longtext'
110
  is_nullable: 1
138
  is_nullable: 1
111
139
140
summary from the MARC record (520$a in MARC21)
141
112
=cut
142
=cut
113
143
114
__PACKAGE__->add_columns(
144
__PACKAGE__->add_columns(
Lines 181-188 __PACKAGE__->has_many( Link Here
181
);
211
);
182
212
183
213
184
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-08-05 13:53:34
214
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
185
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FQaznWmkfR2Ge5NG8lDmSw
215
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rE4YoB/41fCiKbzQaUR8XQ
186
216
187
sub koha_objects_class {
217
sub koha_objects_class {
188
    'Koha::Old::Biblios';
218
    'Koha::Old::Biblios';
(-)a/Koha/Schema/Result/Deletedbiblioitem.pm (-2 / +34 lines)
Lines 29-40 __PACKAGE__->table("deletedbiblioitems"); Link Here
29
  default_value: 0
29
  default_value: 0
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
primary key, unique identifier assigned by Koha
33
32
=head2 biblionumber
34
=head2 biblionumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  default_value: 0
37
  default_value: 0
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
foreign key linking this table to the biblio table
41
38
=head2 volume
42
=head2 volume
39
43
40
  data_type: 'longtext'
44
  data_type: 'longtext'
Lines 51-66 __PACKAGE__->table("deletedbiblioitems"); Link Here
51
  is_nullable: 1
55
  is_nullable: 1
52
  size: 10
56
  size: 10
53
57
58
biblio level item type (MARC21 942$c)
59
54
=head2 isbn
60
=head2 isbn
55
61
56
  data_type: 'longtext'
62
  data_type: 'longtext'
57
  is_nullable: 1
63
  is_nullable: 1
58
64
65
ISBN (MARC21 020$a)
66
59
=head2 issn
67
=head2 issn
60
68
61
  data_type: 'longtext'
69
  data_type: 'longtext'
62
  is_nullable: 1
70
  is_nullable: 1
63
71
72
ISSN (MARC21 022$a)
73
64
=head2 ean
74
=head2 ean
65
75
66
  data_type: 'longtext'
76
  data_type: 'longtext'
Lines 77-82 __PACKAGE__->table("deletedbiblioitems"); Link Here
77
  is_nullable: 1
87
  is_nullable: 1
78
  size: 255
88
  size: 255
79
89
90
publisher (MARC21 260$b)
91
80
=head2 volumedate
92
=head2 volumedate
81
93
82
  data_type: 'date'
94
  data_type: 'date'
Lines 88-93 __PACKAGE__->table("deletedbiblioitems"); Link Here
88
  data_type: 'mediumtext'
100
  data_type: 'mediumtext'
89
  is_nullable: 1
101
  is_nullable: 1
90
102
103
volume information (MARC21 362$a)
104
91
=head2 collectiontitle
105
=head2 collectiontitle
92
106
93
  data_type: 'longtext'
107
  data_type: 'longtext'
Lines 126-137 __PACKAGE__->table("deletedbiblioitems"); Link Here
126
  is_nullable: 1
140
  is_nullable: 1
127
  size: 255
141
  size: 255
128
142
143
illustrations (MARC21 300$b)
144
129
=head2 pages
145
=head2 pages
130
146
131
  data_type: 'varchar'
147
  data_type: 'varchar'
132
  is_nullable: 1
148
  is_nullable: 1
133
  size: 255
149
  size: 255
134
150
151
number of pages (MARC21 300$c)
152
135
=head2 notes
153
=head2 notes
136
154
137
  data_type: 'longtext'
155
  data_type: 'longtext'
Lines 143-171 __PACKAGE__->table("deletedbiblioitems"); Link Here
143
  is_nullable: 1
161
  is_nullable: 1
144
  size: 255
162
  size: 255
145
163
164
material size (MARC21 300$c)
165
146
=head2 place
166
=head2 place
147
167
148
  data_type: 'varchar'
168
  data_type: 'varchar'
149
  is_nullable: 1
169
  is_nullable: 1
150
  size: 255
170
  size: 255
151
171
172
publication place (MARC21 260$a)
173
152
=head2 lccn
174
=head2 lccn
153
175
154
  data_type: 'varchar'
176
  data_type: 'varchar'
155
  is_nullable: 1
177
  is_nullable: 1
156
  size: 25
178
  size: 25
157
179
180
library of congress control number (MARC21 010$a)
181
158
=head2 url
182
=head2 url
159
183
160
  data_type: 'mediumtext'
184
  data_type: 'mediumtext'
161
  is_nullable: 1
185
  is_nullable: 1
162
186
187
url (MARC21 856$u)
188
163
=head2 cn_source
189
=head2 cn_source
164
190
165
  data_type: 'varchar'
191
  data_type: 'varchar'
166
  is_nullable: 1
192
  is_nullable: 1
167
  size: 10
193
  size: 10
168
194
195
classification source (MARC21 942$2)
196
169
=head2 cn_class
197
=head2 cn_class
170
198
171
  data_type: 'varchar'
199
  data_type: 'varchar'
Lines 190-201 __PACKAGE__->table("deletedbiblioitems"); Link Here
190
  is_nullable: 1
218
  is_nullable: 1
191
  size: 255
219
  size: 255
192
220
221
normalized version of the call number used for sorting
222
193
=head2 agerestriction
223
=head2 agerestriction
194
224
195
  data_type: 'varchar'
225
  data_type: 'varchar'
196
  is_nullable: 1
226
  is_nullable: 1
197
  size: 255
227
  size: 255
198
228
229
target audience/age restriction from the bib record (MARC21 521$a)
230
199
=head2 totalissues
231
=head2 totalissues
200
232
201
  data_type: 'integer'
233
  data_type: 'integer'
Lines 288-295 __PACKAGE__->add_columns( Link Here
288
__PACKAGE__->set_primary_key("biblioitemnumber");
320
__PACKAGE__->set_primary_key("biblioitemnumber");
289
321
290
322
291
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
323
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
292
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QLYBa1Ea8Jau2Wy6U+wyQw
324
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QmikL038NhPIMxp1MrZsbg
293
325
294
sub koha_objects_class {
326
sub koha_objects_class {
295
    'Koha::Old::Biblioitems';
327
    'Koha::Old::Biblioitems';
(-)a/Koha/Schema/Result/Deletedborrower.pm (-9 / +151 lines)
Lines 29-201 __PACKAGE__->table("deletedborrowers"); Link Here
29
  default_value: 0
29
  default_value: 0
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
primary key, Koha assigned ID number for patrons/borrowers
33
32
=head2 cardnumber
34
=head2 cardnumber
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
35
  is_nullable: 1
37
  is_nullable: 1
36
  size: 32
38
  size: 32
37
39
40
unique key, library assigned ID number for patrons/borrowers
41
38
=head2 surname
42
=head2 surname
39
43
40
  data_type: 'longtext'
44
  data_type: 'longtext'
41
  is_nullable: 1
45
  is_nullable: 1
42
46
47
patron/borrower's last name (surname)
48
43
=head2 firstname
49
=head2 firstname
44
50
45
  data_type: 'mediumtext'
51
  data_type: 'mediumtext'
46
  is_nullable: 1
52
  is_nullable: 1
47
53
54
patron/borrower's first name
55
48
=head2 title
56
=head2 title
49
57
50
  data_type: 'longtext'
58
  data_type: 'longtext'
51
  is_nullable: 1
59
  is_nullable: 1
52
60
61
patron/borrower's title, for example: Mr. or Mrs.
62
53
=head2 othernames
63
=head2 othernames
54
64
55
  data_type: 'longtext'
65
  data_type: 'longtext'
56
  is_nullable: 1
66
  is_nullable: 1
57
67
68
any other names associated with the patron/borrower
69
58
=head2 initials
70
=head2 initials
59
71
60
  data_type: 'mediumtext'
72
  data_type: 'mediumtext'
61
  is_nullable: 1
73
  is_nullable: 1
62
74
75
initials for your patron/borrower
76
63
=head2 streetnumber
77
=head2 streetnumber
64
78
65
  data_type: 'tinytext'
79
  data_type: 'tinytext'
66
  is_nullable: 1
80
  is_nullable: 1
67
81
82
the house number for your patron/borrower's primary address
83
68
=head2 streettype
84
=head2 streettype
69
85
70
  data_type: 'tinytext'
86
  data_type: 'tinytext'
71
  is_nullable: 1
87
  is_nullable: 1
72
88
89
the street type (Rd., Blvd, etc) for your patron/borrower's primary address
90
73
=head2 address
91
=head2 address
74
92
75
  data_type: 'longtext'
93
  data_type: 'longtext'
76
  is_nullable: 1
94
  is_nullable: 1
77
95
96
the first address line for your patron/borrower's primary address
97
78
=head2 address2
98
=head2 address2
79
99
80
  data_type: 'mediumtext'
100
  data_type: 'mediumtext'
81
  is_nullable: 1
101
  is_nullable: 1
82
102
103
the second address line for your patron/borrower's primary address
104
83
=head2 city
105
=head2 city
84
106
85
  data_type: 'longtext'
107
  data_type: 'longtext'
86
  is_nullable: 1
108
  is_nullable: 1
87
109
110
the city or town for your patron/borrower's primary address
111
88
=head2 state
112
=head2 state
89
113
90
  data_type: 'mediumtext'
114
  data_type: 'mediumtext'
91
  is_nullable: 1
115
  is_nullable: 1
92
116
117
the state or province for your patron/borrower's primary address
118
93
=head2 zipcode
119
=head2 zipcode
94
120
95
  data_type: 'tinytext'
121
  data_type: 'tinytext'
96
  is_nullable: 1
122
  is_nullable: 1
97
123
124
the zip or postal code for your patron/borrower's primary address
125
98
=head2 country
126
=head2 country
99
127
100
  data_type: 'mediumtext'
128
  data_type: 'mediumtext'
101
  is_nullable: 1
129
  is_nullable: 1
102
130
131
the country for your patron/borrower's primary address
132
103
=head2 email
133
=head2 email
104
134
105
  data_type: 'longtext'
135
  data_type: 'longtext'
106
  is_nullable: 1
136
  is_nullable: 1
107
137
138
the primary email address for your patron/borrower's primary address
139
108
=head2 phone
140
=head2 phone
109
141
110
  data_type: 'mediumtext'
142
  data_type: 'mediumtext'
111
  is_nullable: 1
143
  is_nullable: 1
112
144
145
the primary phone number for your patron/borrower's primary address
146
113
=head2 mobile
147
=head2 mobile
114
148
115
  data_type: 'tinytext'
149
  data_type: 'tinytext'
116
  is_nullable: 1
150
  is_nullable: 1
117
151
152
the other phone number for your patron/borrower's primary address
153
118
=head2 fax
154
=head2 fax
119
155
120
  data_type: 'longtext'
156
  data_type: 'longtext'
121
  is_nullable: 1
157
  is_nullable: 1
122
158
159
the fax number for your patron/borrower's primary address
160
123
=head2 emailpro
161
=head2 emailpro
124
162
125
  data_type: 'mediumtext'
163
  data_type: 'mediumtext'
126
  is_nullable: 1
164
  is_nullable: 1
127
165
166
the secondary email addres for your patron/borrower's primary address
167
128
=head2 phonepro
168
=head2 phonepro
129
169
130
  data_type: 'mediumtext'
170
  data_type: 'mediumtext'
131
  is_nullable: 1
171
  is_nullable: 1
132
172
173
the secondary phone number for your patron/borrower's primary address
174
133
=head2 B_streetnumber
175
=head2 B_streetnumber
134
176
135
  accessor: 'b_streetnumber'
177
  accessor: 'b_streetnumber'
136
  data_type: 'tinytext'
178
  data_type: 'tinytext'
137
  is_nullable: 1
179
  is_nullable: 1
138
180
181
the house number for your patron/borrower's alternate address
182
139
=head2 B_streettype
183
=head2 B_streettype
140
184
141
  accessor: 'b_streettype'
185
  accessor: 'b_streettype'
142
  data_type: 'tinytext'
186
  data_type: 'tinytext'
143
  is_nullable: 1
187
  is_nullable: 1
144
188
189
the street type (Rd., Blvd, etc) for your patron/borrower's alternate address
190
145
=head2 B_address
191
=head2 B_address
146
192
147
  accessor: 'b_address'
193
  accessor: 'b_address'
148
  data_type: 'mediumtext'
194
  data_type: 'mediumtext'
149
  is_nullable: 1
195
  is_nullable: 1
150
196
197
the first address line for your patron/borrower's alternate address
198
151
=head2 B_address2
199
=head2 B_address2
152
200
153
  accessor: 'b_address2'
201
  accessor: 'b_address2'
154
  data_type: 'mediumtext'
202
  data_type: 'mediumtext'
155
  is_nullable: 1
203
  is_nullable: 1
156
204
205
the second address line for your patron/borrower's alternate address
206
157
=head2 B_city
207
=head2 B_city
158
208
159
  accessor: 'b_city'
209
  accessor: 'b_city'
160
  data_type: 'longtext'
210
  data_type: 'longtext'
161
  is_nullable: 1
211
  is_nullable: 1
162
212
213
the city or town for your patron/borrower's alternate address
214
163
=head2 B_state
215
=head2 B_state
164
216
165
  accessor: 'b_state'
217
  accessor: 'b_state'
166
  data_type: 'mediumtext'
218
  data_type: 'mediumtext'
167
  is_nullable: 1
219
  is_nullable: 1
168
220
221
the state for your patron/borrower's alternate address
222
169
=head2 B_zipcode
223
=head2 B_zipcode
170
224
171
  accessor: 'b_zipcode'
225
  accessor: 'b_zipcode'
172
  data_type: 'tinytext'
226
  data_type: 'tinytext'
173
  is_nullable: 1
227
  is_nullable: 1
174
228
229
the zip or postal code for your patron/borrower's alternate address
230
175
=head2 B_country
231
=head2 B_country
176
232
177
  accessor: 'b_country'
233
  accessor: 'b_country'
178
  data_type: 'mediumtext'
234
  data_type: 'mediumtext'
179
  is_nullable: 1
235
  is_nullable: 1
180
236
237
the country for your patron/borrower's alternate address
238
181
=head2 B_email
239
=head2 B_email
182
240
183
  accessor: 'b_email'
241
  accessor: 'b_email'
184
  data_type: 'mediumtext'
242
  data_type: 'mediumtext'
185
  is_nullable: 1
243
  is_nullable: 1
186
244
245
the patron/borrower's alternate email address
246
187
=head2 B_phone
247
=head2 B_phone
188
248
189
  accessor: 'b_phone'
249
  accessor: 'b_phone'
190
  data_type: 'longtext'
250
  data_type: 'longtext'
191
  is_nullable: 1
251
  is_nullable: 1
192
252
253
the patron/borrower's alternate phone number
254
193
=head2 dateofbirth
255
=head2 dateofbirth
194
256
195
  data_type: 'date'
257
  data_type: 'date'
196
  datetime_undef_if_invalid: 1
258
  datetime_undef_if_invalid: 1
197
  is_nullable: 1
259
  is_nullable: 1
198
260
261
the patron/borrower's date of birth (YYYY-MM-DD)
262
199
=head2 branchcode
263
=head2 branchcode
200
264
201
  data_type: 'varchar'
265
  data_type: 'varchar'
Lines 203-208 __PACKAGE__->table("deletedborrowers"); Link Here
203
  is_nullable: 0
267
  is_nullable: 0
204
  size: 10
268
  size: 10
205
269
270
foreign key from the branches table, includes the code of the patron/borrower's home branch
271
206
=head2 categorycode
272
=head2 categorycode
207
273
208
  data_type: 'varchar'
274
  data_type: 'varchar'
Lines 210-280 __PACKAGE__->table("deletedborrowers"); Link Here
210
  is_nullable: 0
276
  is_nullable: 0
211
  size: 10
277
  size: 10
212
278
279
foreign key from the categories table, includes the code of the patron category
280
213
=head2 dateenrolled
281
=head2 dateenrolled
214
282
215
  data_type: 'date'
283
  data_type: 'date'
216
  datetime_undef_if_invalid: 1
284
  datetime_undef_if_invalid: 1
217
  is_nullable: 1
285
  is_nullable: 1
218
286
287
date the patron was added to Koha (YYYY-MM-DD)
288
219
=head2 dateexpiry
289
=head2 dateexpiry
220
290
221
  data_type: 'date'
291
  data_type: 'date'
222
  datetime_undef_if_invalid: 1
292
  datetime_undef_if_invalid: 1
223
  is_nullable: 1
293
  is_nullable: 1
224
294
295
date the patron/borrower's card is set to expire (YYYY-MM-DD)
296
225
=head2 date_renewed
297
=head2 date_renewed
226
298
227
  data_type: 'date'
299
  data_type: 'date'
228
  datetime_undef_if_invalid: 1
300
  datetime_undef_if_invalid: 1
229
  is_nullable: 1
301
  is_nullable: 1
230
302
303
date the patron/borrower's card was last renewed
304
231
=head2 gonenoaddress
305
=head2 gonenoaddress
232
306
233
  data_type: 'tinyint'
307
  data_type: 'tinyint'
234
  is_nullable: 1
308
  is_nullable: 1
235
309
310
set to 1 for yes and 0 for no, flag to note that library marked this patron/borrower as having an unconfirmed address
311
236
=head2 lost
312
=head2 lost
237
313
238
  data_type: 'tinyint'
314
  data_type: 'tinyint'
239
  is_nullable: 1
315
  is_nullable: 1
240
316
317
set to 1 for yes and 0 for no, flag to note that library marked this patron/borrower as having lost their card
318
241
=head2 debarred
319
=head2 debarred
242
320
243
  data_type: 'date'
321
  data_type: 'date'
244
  datetime_undef_if_invalid: 1
322
  datetime_undef_if_invalid: 1
245
  is_nullable: 1
323
  is_nullable: 1
246
324
325
until this date the patron can only check-in (no loans, no holds, etc.), is a fine based on days instead of money (YYYY-MM-DD)
326
247
=head2 debarredcomment
327
=head2 debarredcomment
248
328
249
  data_type: 'varchar'
329
  data_type: 'varchar'
250
  is_nullable: 1
330
  is_nullable: 1
251
  size: 255
331
  size: 255
252
332
333
comment on the stop of patron
334
253
=head2 contactname
335
=head2 contactname
254
336
255
  data_type: 'longtext'
337
  data_type: 'longtext'
256
  is_nullable: 1
338
  is_nullable: 1
257
339
340
used for children and profesionals to include surname or last name of guarantor or organization name
341
258
=head2 contactfirstname
342
=head2 contactfirstname
259
343
260
  data_type: 'mediumtext'
344
  data_type: 'mediumtext'
261
  is_nullable: 1
345
  is_nullable: 1
262
346
347
used for children to include first name of guarantor
348
263
=head2 contacttitle
349
=head2 contacttitle
264
350
265
  data_type: 'mediumtext'
351
  data_type: 'mediumtext'
266
  is_nullable: 1
352
  is_nullable: 1
267
353
354
used for children to include title (Mr., Mrs., etc) of guarantor
355
268
=head2 borrowernotes
356
=head2 borrowernotes
269
357
270
  data_type: 'longtext'
358
  data_type: 'longtext'
271
  is_nullable: 1
359
  is_nullable: 1
272
360
273
=head2 relationship
361
a note on the patron/borrower's account that is only visible in the staff interface
274
275
  data_type: 'varchar'
276
  is_nullable: 1
277
  size: 100
278
362
279
=head2 sex
363
=head2 sex
280
364
Lines 282-401 __PACKAGE__->table("deletedborrowers"); Link Here
282
  is_nullable: 1
366
  is_nullable: 1
283
  size: 1
367
  size: 1
284
368
369
patron/borrower's gender
370
285
=head2 password
371
=head2 password
286
372
287
  data_type: 'varchar'
373
  data_type: 'varchar'
288
  is_nullable: 1
374
  is_nullable: 1
289
  size: 60
375
  size: 60
290
376
377
patron/borrower's encrypted password
378
291
=head2 flags
379
=head2 flags
292
380
293
  data_type: 'integer'
381
  data_type: 'integer'
294
  is_nullable: 1
382
  is_nullable: 1
295
383
384
will include a number associated with the staff member's permissions
385
296
=head2 userid
386
=head2 userid
297
387
298
  data_type: 'varchar'
388
  data_type: 'varchar'
299
  is_nullable: 1
389
  is_nullable: 1
300
  size: 75
390
  size: 75
301
391
392
patron/borrower's opac and/or staff interface log in
393
302
=head2 opacnote
394
=head2 opacnote
303
395
304
  data_type: 'longtext'
396
  data_type: 'longtext'
305
  is_nullable: 1
397
  is_nullable: 1
306
398
399
a note on the patron/borrower's account that is visible in the OPAC and staff interface
400
307
=head2 contactnote
401
=head2 contactnote
308
402
309
  data_type: 'varchar'
403
  data_type: 'varchar'
310
  is_nullable: 1
404
  is_nullable: 1
311
  size: 255
405
  size: 255
312
406
407
a note related to the patron/borrower's alternate address
408
313
=head2 sort1
409
=head2 sort1
314
410
315
  data_type: 'varchar'
411
  data_type: 'varchar'
316
  is_nullable: 1
412
  is_nullable: 1
317
  size: 80
413
  size: 80
318
414
415
a field that can be used for any information unique to the library
416
319
=head2 sort2
417
=head2 sort2
320
418
321
  data_type: 'varchar'
419
  data_type: 'varchar'
322
  is_nullable: 1
420
  is_nullable: 1
323
  size: 80
421
  size: 80
324
422
423
a field that can be used for any information unique to the library
424
325
=head2 altcontactfirstname
425
=head2 altcontactfirstname
326
426
327
  data_type: 'mediumtext'
427
  data_type: 'mediumtext'
328
  is_nullable: 1
428
  is_nullable: 1
329
429
430
first name of alternate contact for the patron/borrower
431
330
=head2 altcontactsurname
432
=head2 altcontactsurname
331
433
332
  data_type: 'mediumtext'
434
  data_type: 'mediumtext'
333
  is_nullable: 1
435
  is_nullable: 1
334
436
437
surname or last name of the alternate contact for the patron/borrower
438
335
=head2 altcontactaddress1
439
=head2 altcontactaddress1
336
440
337
  data_type: 'mediumtext'
441
  data_type: 'mediumtext'
338
  is_nullable: 1
442
  is_nullable: 1
339
443
444
the first address line for the alternate contact for the patron/borrower
445
340
=head2 altcontactaddress2
446
=head2 altcontactaddress2
341
447
342
  data_type: 'mediumtext'
448
  data_type: 'mediumtext'
343
  is_nullable: 1
449
  is_nullable: 1
344
450
451
the second address line for the alternate contact for the patron/borrower
452
345
=head2 altcontactaddress3
453
=head2 altcontactaddress3
346
454
347
  data_type: 'mediumtext'
455
  data_type: 'mediumtext'
348
  is_nullable: 1
456
  is_nullable: 1
349
457
458
the city for the alternate contact for the patron/borrower
459
350
=head2 altcontactstate
460
=head2 altcontactstate
351
461
352
  data_type: 'mediumtext'
462
  data_type: 'mediumtext'
353
  is_nullable: 1
463
  is_nullable: 1
354
464
465
the state for the alternate contact for the patron/borrower
466
355
=head2 altcontactzipcode
467
=head2 altcontactzipcode
356
468
357
  data_type: 'mediumtext'
469
  data_type: 'mediumtext'
358
  is_nullable: 1
470
  is_nullable: 1
359
471
472
the zipcode for the alternate contact for the patron/borrower
473
360
=head2 altcontactcountry
474
=head2 altcontactcountry
361
475
362
  data_type: 'mediumtext'
476
  data_type: 'mediumtext'
363
  is_nullable: 1
477
  is_nullable: 1
364
478
479
the country for the alternate contact for the patron/borrower
480
365
=head2 altcontactphone
481
=head2 altcontactphone
366
482
367
  data_type: 'mediumtext'
483
  data_type: 'mediumtext'
368
  is_nullable: 1
484
  is_nullable: 1
369
485
486
the phone number for the alternate contact for the patron/borrower
487
370
=head2 smsalertnumber
488
=head2 smsalertnumber
371
489
372
  data_type: 'varchar'
490
  data_type: 'varchar'
373
  is_nullable: 1
491
  is_nullable: 1
374
  size: 50
492
  size: 50
375
493
494
the mobile phone number where the patron/borrower would like to receive notices (if SMS turned on)
495
376
=head2 sms_provider_id
496
=head2 sms_provider_id
377
497
378
  data_type: 'integer'
498
  data_type: 'integer'
379
  is_nullable: 1
499
  is_nullable: 1
380
500
501
the provider of the mobile phone number defined in smsalertnumber
502
381
=head2 privacy
503
=head2 privacy
382
504
383
  data_type: 'integer'
505
  data_type: 'integer'
384
  default_value: 1
506
  default_value: 1
385
  is_nullable: 0
507
  is_nullable: 0
386
508
509
patron/borrower's privacy settings related to their checkout history  KEY `borrowernumber` (`borrowernumber`),
510
387
=head2 privacy_guarantor_fines
511
=head2 privacy_guarantor_fines
388
512
389
  data_type: 'tinyint'
513
  data_type: 'tinyint'
390
  default_value: 0
514
  default_value: 0
391
  is_nullable: 0
515
  is_nullable: 0
392
516
517
controls if relatives can see this patron's fines
518
393
=head2 privacy_guarantor_checkouts
519
=head2 privacy_guarantor_checkouts
394
520
395
  data_type: 'tinyint'
521
  data_type: 'tinyint'
396
  default_value: 0
522
  default_value: 0
397
  is_nullable: 0
523
  is_nullable: 0
398
524
525
controls if relatives can see this patron's checkouts
526
399
=head2 checkprevcheckout
527
=head2 checkprevcheckout
400
528
401
  data_type: 'varchar'
529
  data_type: 'varchar'
Lines 403-408 __PACKAGE__->table("deletedborrowers"); Link Here
403
  is_nullable: 0
531
  is_nullable: 0
404
  size: 7
532
  size: 7
405
533
534
produce a warning for this patron if this item has previously been checked out to this patron if 'yes', not if 'no', defer to category setting if 'inherit'.
535
406
=head2 updated_on
536
=head2 updated_on
407
537
408
  data_type: 'timestamp'
538
  data_type: 'timestamp'
Lines 410-421 __PACKAGE__->table("deletedborrowers"); Link Here
410
  default_value: current_timestamp
540
  default_value: current_timestamp
411
  is_nullable: 0
541
  is_nullable: 0
412
542
543
time of last change could be useful for synchronization with external systems (among others)
544
413
=head2 lastseen
545
=head2 lastseen
414
546
415
  data_type: 'datetime'
547
  data_type: 'datetime'
416
  datetime_undef_if_invalid: 1
548
  datetime_undef_if_invalid: 1
417
  is_nullable: 1
549
  is_nullable: 1
418
550
551
last time a patron has been seen (connected at the OPAC or staff interface)
552
419
=head2 lang
553
=head2 lang
420
554
421
  data_type: 'varchar'
555
  data_type: 'varchar'
Lines 423-451 __PACKAGE__->table("deletedborrowers"); Link Here
423
  is_nullable: 0
557
  is_nullable: 0
424
  size: 25
558
  size: 25
425
559
560
lang to use to send notices to this patron
561
426
=head2 login_attempts
562
=head2 login_attempts
427
563
428
  data_type: 'integer'
564
  data_type: 'integer'
429
  default_value: 0
565
  default_value: 0
430
  is_nullable: 0
566
  is_nullable: 0
431
567
568
number of failed login attemps
569
432
=head2 overdrive_auth_token
570
=head2 overdrive_auth_token
433
571
434
  data_type: 'mediumtext'
572
  data_type: 'mediumtext'
435
  is_nullable: 1
573
  is_nullable: 1
436
574
575
persist OverDrive auth token
576
437
=head2 anonymized
577
=head2 anonymized
438
578
439
  data_type: 'tinyint'
579
  data_type: 'tinyint'
440
  default_value: 0
580
  default_value: 0
441
  is_nullable: 0
581
  is_nullable: 0
442
582
583
flag for data anonymization
584
443
=head2 autorenew_checkouts
585
=head2 autorenew_checkouts
444
586
445
  data_type: 'tinyint'
587
  data_type: 'tinyint'
446
  default_value: 1
588
  default_value: 1
447
  is_nullable: 0
589
  is_nullable: 0
448
590
591
flag for allowing auto-renewal
592
449
=cut
593
=cut
450
594
451
__PACKAGE__->add_columns(
595
__PACKAGE__->add_columns(
Lines 539-546 __PACKAGE__->add_columns( Link Here
539
  { data_type => "mediumtext", is_nullable => 1 },
683
  { data_type => "mediumtext", is_nullable => 1 },
540
  "borrowernotes",
684
  "borrowernotes",
541
  { data_type => "longtext", is_nullable => 1 },
685
  { data_type => "longtext", is_nullable => 1 },
542
  "relationship",
543
  { data_type => "varchar", is_nullable => 1, size => 100 },
544
  "sex",
686
  "sex",
545
  { data_type => "varchar", is_nullable => 1, size => 1 },
687
  { data_type => "varchar", is_nullable => 1, size => 1 },
546
  "password",
688
  "password",
Lines 623-630 __PACKAGE__->add_columns( Link Here
623
);
765
);
624
766
625
767
626
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-07-20 10:54:51
768
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
627
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4xYIkJhZWN+O/s8cMYbJmw
769
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UyLvm5ZrVFTPYwsI0yzNfQ
628
770
629
__PACKAGE__->add_columns(
771
__PACKAGE__->add_columns(
630
    '+anonymized'    => { is_boolean => 1 },
772
    '+anonymized'    => { is_boolean => 1 },
(-)a/Koha/Schema/Result/Deleteditem.pm (-2 / +90 lines)
Lines 29-99 __PACKAGE__->table("deleteditems"); Link Here
29
  default_value: 0
29
  default_value: 0
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
primary key and unique identifier added by Koha
33
32
=head2 biblionumber
34
=head2 biblionumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  default_value: 0
37
  default_value: 0
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
foreign key from biblio table used to link this item to the right bib record
41
38
=head2 biblioitemnumber
42
=head2 biblioitemnumber
39
43
40
  data_type: 'integer'
44
  data_type: 'integer'
41
  default_value: 0
45
  default_value: 0
42
  is_nullable: 0
46
  is_nullable: 0
43
47
48
foreign key from the biblioitems table to link to item to additional information
49
44
=head2 barcode
50
=head2 barcode
45
51
46
  data_type: 'varchar'
52
  data_type: 'varchar'
47
  is_nullable: 1
53
  is_nullable: 1
48
  size: 20
54
  size: 20
49
55
56
item barcode (MARC21 952$p)
57
50
=head2 dateaccessioned
58
=head2 dateaccessioned
51
59
52
  data_type: 'date'
60
  data_type: 'date'
53
  datetime_undef_if_invalid: 1
61
  datetime_undef_if_invalid: 1
54
  is_nullable: 1
62
  is_nullable: 1
55
63
64
date the item was acquired or added to Koha (MARC21 952$d)
65
56
=head2 booksellerid
66
=head2 booksellerid
57
67
58
  data_type: 'longtext'
68
  data_type: 'longtext'
59
  is_nullable: 1
69
  is_nullable: 1
60
70
71
where the item was purchased (MARC21 952$e)
72
61
=head2 homebranch
73
=head2 homebranch
62
74
63
  data_type: 'varchar'
75
  data_type: 'varchar'
64
  is_nullable: 1
76
  is_nullable: 1
65
  size: 10
77
  size: 10
66
78
79
foreign key from the branches table for the library that owns this item (MARC21 952$a)
80
67
=head2 price
81
=head2 price
68
82
69
  data_type: 'decimal'
83
  data_type: 'decimal'
70
  is_nullable: 1
84
  is_nullable: 1
71
  size: [8,2]
85
  size: [8,2]
72
86
87
purchase price (MARC21 952$g)
88
73
=head2 replacementprice
89
=head2 replacementprice
74
90
75
  data_type: 'decimal'
91
  data_type: 'decimal'
76
  is_nullable: 1
92
  is_nullable: 1
77
  size: [8,2]
93
  size: [8,2]
78
94
95
cost the library charges to replace the item if it has been marked lost (MARC21 952$v)
96
79
=head2 replacementpricedate
97
=head2 replacementpricedate
80
98
81
  data_type: 'date'
99
  data_type: 'date'
82
  datetime_undef_if_invalid: 1
100
  datetime_undef_if_invalid: 1
83
  is_nullable: 1
101
  is_nullable: 1
84
102
103
the date the price is effective from (MARC21 952$w)
104
85
=head2 datelastborrowed
105
=head2 datelastborrowed
86
106
87
  data_type: 'date'
107
  data_type: 'date'
88
  datetime_undef_if_invalid: 1
108
  datetime_undef_if_invalid: 1
89
  is_nullable: 1
109
  is_nullable: 1
90
110
111
the date the item was last checked out
112
91
=head2 datelastseen
113
=head2 datelastseen
92
114
93
  data_type: 'date'
115
  data_type: 'date'
94
  datetime_undef_if_invalid: 1
116
  datetime_undef_if_invalid: 1
95
  is_nullable: 1
117
  is_nullable: 1
96
118
119
the date the item was last see (usually the last time the barcode was scanned or inventory was done)
120
97
=head2 stack
121
=head2 stack
98
122
99
  data_type: 'tinyint'
123
  data_type: 'tinyint'
Lines 105-195 __PACKAGE__->table("deleteditems"); Link Here
105
  default_value: 0
129
  default_value: 0
106
  is_nullable: 0
130
  is_nullable: 0
107
131
132
authorized value defining why this item is not for loan (MARC21 952$7)
133
108
=head2 damaged
134
=head2 damaged
109
135
110
  data_type: 'tinyint'
136
  data_type: 'tinyint'
111
  default_value: 0
137
  default_value: 0
112
  is_nullable: 0
138
  is_nullable: 0
113
139
140
authorized value defining this item as damaged (MARC21 952$4)
141
114
=head2 damaged_on
142
=head2 damaged_on
115
143
116
  data_type: 'datetime'
144
  data_type: 'datetime'
117
  datetime_undef_if_invalid: 1
145
  datetime_undef_if_invalid: 1
118
  is_nullable: 1
146
  is_nullable: 1
119
147
148
the date and time an item was last marked as damaged, NULL if not damaged
149
120
=head2 itemlost
150
=head2 itemlost
121
151
122
  data_type: 'tinyint'
152
  data_type: 'tinyint'
123
  default_value: 0
153
  default_value: 0
124
  is_nullable: 0
154
  is_nullable: 0
125
155
156
authorized value defining this item as lost (MARC21 952$1)
157
126
=head2 itemlost_on
158
=head2 itemlost_on
127
159
128
  data_type: 'datetime'
160
  data_type: 'datetime'
129
  datetime_undef_if_invalid: 1
161
  datetime_undef_if_invalid: 1
130
  is_nullable: 1
162
  is_nullable: 1
131
163
164
the date and time an item was last marked as lost, NULL if not lost
165
132
=head2 withdrawn
166
=head2 withdrawn
133
167
134
  data_type: 'tinyint'
168
  data_type: 'tinyint'
135
  default_value: 0
169
  default_value: 0
136
  is_nullable: 0
170
  is_nullable: 0
137
171
172
authorized value defining this item as withdrawn (MARC21 952$0)
173
138
=head2 withdrawn_on
174
=head2 withdrawn_on
139
175
140
  data_type: 'datetime'
176
  data_type: 'datetime'
141
  datetime_undef_if_invalid: 1
177
  datetime_undef_if_invalid: 1
142
  is_nullable: 1
178
  is_nullable: 1
143
179
180
the date and time an item was last marked as withdrawn, NULL if not withdrawn
181
144
=head2 itemcallnumber
182
=head2 itemcallnumber
145
183
146
  data_type: 'varchar'
184
  data_type: 'varchar'
147
  is_nullable: 1
185
  is_nullable: 1
148
  size: 255
186
  size: 255
149
187
188
call number for this item (MARC21 952$o)
189
150
=head2 coded_location_qualifier
190
=head2 coded_location_qualifier
151
191
152
  data_type: 'varchar'
192
  data_type: 'varchar'
153
  is_nullable: 1
193
  is_nullable: 1
154
  size: 10
194
  size: 10
155
195
196
coded location qualifier(MARC21 952$f)
197
156
=head2 issues
198
=head2 issues
157
199
158
  data_type: 'smallint'
200
  data_type: 'smallint'
159
  default_value: 0
201
  default_value: 0
160
  is_nullable: 1
202
  is_nullable: 1
161
203
204
number of times this item has been checked out
205
162
=head2 renewals
206
=head2 renewals
163
207
164
  data_type: 'smallint'
208
  data_type: 'smallint'
165
  is_nullable: 1
209
  is_nullable: 1
166
210
211
number of times this item has been renewed
212
167
=head2 reserves
213
=head2 reserves
168
214
169
  data_type: 'smallint'
215
  data_type: 'smallint'
170
  is_nullable: 1
216
  is_nullable: 1
171
217
218
number of times this item has been placed on hold/reserved
219
172
=head2 restricted
220
=head2 restricted
173
221
174
  data_type: 'tinyint'
222
  data_type: 'tinyint'
175
  is_nullable: 1
223
  is_nullable: 1
176
224
225
authorized value defining use restrictions for this item (MARC21 952$5)
226
177
=head2 itemnotes
227
=head2 itemnotes
178
228
179
  data_type: 'longtext'
229
  data_type: 'longtext'
180
  is_nullable: 1
230
  is_nullable: 1
181
231
232
public notes on this item (MARC21 952$z)
233
182
=head2 itemnotes_nonpublic
234
=head2 itemnotes_nonpublic
183
235
184
  data_type: 'longtext'
236
  data_type: 'longtext'
185
  is_nullable: 1
237
  is_nullable: 1
186
238
239
non-public notes on this item (MARC21 952$x)
240
187
=head2 holdingbranch
241
=head2 holdingbranch
188
242
189
  data_type: 'varchar'
243
  data_type: 'varchar'
190
  is_nullable: 1
244
  is_nullable: 1
191
  size: 10
245
  size: 10
192
246
247
foreign key from the branches table for the library that is currently in possession item (MARC21 952$b)
248
193
=head2 timestamp
249
=head2 timestamp
194
250
195
  data_type: 'timestamp'
251
  data_type: 'timestamp'
Lines 197-287 __PACKAGE__->table("deleteditems"); Link Here
197
  default_value: current_timestamp
253
  default_value: current_timestamp
198
  is_nullable: 0
254
  is_nullable: 0
199
255
256
date and time this item was last altered
257
200
=head2 location
258
=head2 location
201
259
202
  data_type: 'varchar'
260
  data_type: 'varchar'
203
  is_nullable: 1
261
  is_nullable: 1
204
  size: 80
262
  size: 80
205
263
264
authorized value for the shelving location for this item (MARC21 952$c)
265
206
=head2 permanent_location
266
=head2 permanent_location
207
267
208
  data_type: 'varchar'
268
  data_type: 'varchar'
209
  is_nullable: 1
269
  is_nullable: 1
210
  size: 80
270
  size: 80
211
271
272
linked to the CART and PROC temporary locations feature, stores the permanent shelving location
273
212
=head2 onloan
274
=head2 onloan
213
275
214
  data_type: 'date'
276
  data_type: 'date'
215
  datetime_undef_if_invalid: 1
277
  datetime_undef_if_invalid: 1
216
  is_nullable: 1
278
  is_nullable: 1
217
279
280
defines if item is checked out (NULL for not checked out, and due date for checked out)
281
218
=head2 cn_source
282
=head2 cn_source
219
283
220
  data_type: 'varchar'
284
  data_type: 'varchar'
221
  is_nullable: 1
285
  is_nullable: 1
222
  size: 10
286
  size: 10
223
287
288
classification source used on this item (MARC21 952$2)
289
224
=head2 cn_sort
290
=head2 cn_sort
225
291
226
  data_type: 'varchar'
292
  data_type: 'varchar'
227
  is_nullable: 1
293
  is_nullable: 1
228
  size: 255
294
  size: 255
229
295
296
normalized form of the call number (MARC21 952$o) used for sorting
297
230
=head2 ccode
298
=head2 ccode
231
299
232
  data_type: 'varchar'
300
  data_type: 'varchar'
233
  is_nullable: 1
301
  is_nullable: 1
234
  size: 80
302
  size: 80
235
303
304
authorized value for the collection code associated with this item (MARC21 952$8)
305
236
=head2 materials
306
=head2 materials
237
307
238
  data_type: 'mediumtext'
308
  data_type: 'mediumtext'
239
  is_nullable: 1
309
  is_nullable: 1
240
310
311
materials specified (MARC21 952$3)
312
241
=head2 uri
313
=head2 uri
242
314
243
  data_type: 'mediumtext'
315
  data_type: 'mediumtext'
244
  is_nullable: 1
316
  is_nullable: 1
245
317
318
URL for the item (MARC21 952$u)
319
246
=head2 itype
320
=head2 itype
247
321
248
  data_type: 'varchar'
322
  data_type: 'varchar'
249
  is_nullable: 1
323
  is_nullable: 1
250
  size: 10
324
  size: 10
251
325
326
foreign key from the itemtypes table defining the type for this item (MARC21 952$y)
327
252
=head2 more_subfields_xml
328
=head2 more_subfields_xml
253
329
254
  data_type: 'longtext'
330
  data_type: 'longtext'
255
  is_nullable: 1
331
  is_nullable: 1
256
332
333
additional 952 subfields in XML format
334
257
=head2 enumchron
335
=head2 enumchron
258
336
259
  data_type: 'mediumtext'
337
  data_type: 'mediumtext'
260
  is_nullable: 1
338
  is_nullable: 1
261
339
340
serial enumeration/chronology for the item (MARC21 952$h)
341
262
=head2 copynumber
342
=head2 copynumber
263
343
264
  data_type: 'varchar'
344
  data_type: 'varchar'
265
  is_nullable: 1
345
  is_nullable: 1
266
  size: 32
346
  size: 32
267
347
348
copy number (MARC21 952$t)
349
268
=head2 stocknumber
350
=head2 stocknumber
269
351
270
  data_type: 'varchar'
352
  data_type: 'varchar'
271
  is_nullable: 1
353
  is_nullable: 1
272
  size: 32
354
  size: 32
273
355
356
inventory number (MARC21 952$i)
357
274
=head2 new_status
358
=head2 new_status
275
359
276
  data_type: 'varchar'
360
  data_type: 'varchar'
277
  is_nullable: 1
361
  is_nullable: 1
278
  size: 32
362
  size: 32
279
363
364
'new' value, you can put whatever free-text information. This field is intented to be managed by the automatic_item_modification_by_age cronjob.
365
280
=head2 exclude_from_local_holds_priority
366
=head2 exclude_from_local_holds_priority
281
367
282
  data_type: 'tinyint'
368
  data_type: 'tinyint'
283
  is_nullable: 1
369
  is_nullable: 1
284
370
371
Exclude this item from local holds priority
372
285
=cut
373
=cut
286
374
287
__PACKAGE__->add_columns(
375
__PACKAGE__->add_columns(
Lines 407-414 __PACKAGE__->add_columns( Link Here
407
__PACKAGE__->set_primary_key("itemnumber");
495
__PACKAGE__->set_primary_key("itemnumber");
408
496
409
497
410
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-09-30 15:31:01
498
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
411
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1l4g7uiQo9gkdrWbNxAsJg
499
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kwBP6OCpv5LAt5GWGlrTgw
412
500
413
__PACKAGE__->add_columns(
501
__PACKAGE__->add_columns(
414
    '+exclude_from_local_holds_priority' => { is_boolean => 1 },
502
    '+exclude_from_local_holds_priority' => { is_boolean => 1 },
(-)a/Koha/Schema/Result/Desk.pm (-2 / +8 lines)
Lines 29-34 __PACKAGE__->table("desks"); 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
33
32
=head2 desk_name
34
=head2 desk_name
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
Lines 36-41 __PACKAGE__->table("desks"); Link Here
36
  is_nullable: 0
38
  is_nullable: 0
37
  size: 100
39
  size: 100
38
40
41
name of the desk
42
39
=head2 branchcode
43
=head2 branchcode
40
44
41
  data_type: 'varchar'
45
  data_type: 'varchar'
Lines 43-48 __PACKAGE__->table("desks"); Link Here
43
  is_nullable: 0
47
  is_nullable: 0
44
  size: 10
48
  size: 10
45
49
50
library the desk is located at
51
46
=cut
52
=cut
47
53
48
__PACKAGE__->add_columns(
54
__PACKAGE__->add_columns(
Lines 99-106 __PACKAGE__->has_many( Link Here
99
);
105
);
100
106
101
107
102
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-11-06 11:00:40
108
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
103
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Weoxj3CBeajLEzx9DBX1ag
109
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JGE5AStMT8DONyO4EHWtTg
104
110
105
111
106
# You can replace this text with custom code or comments, and it will be preserved on regeneration
112
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/HouseboundProfile.pm (-2 / +18 lines)
Lines 29-69 __PACKAGE__->table("housebound_profile"); Link Here
29
  is_foreign_key: 1
29
  is_foreign_key: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
Number of the borrower associated with this profile.
33
32
=head2 day
34
=head2 day
33
35
34
  data_type: 'mediumtext'
36
  data_type: 'mediumtext'
35
  is_nullable: 0
37
  is_nullable: 0
36
38
39
The preferred day of the week for delivery.
40
37
=head2 frequency
41
=head2 frequency
38
42
39
  data_type: 'mediumtext'
43
  data_type: 'mediumtext'
40
  is_nullable: 0
44
  is_nullable: 0
41
45
46
The Authorised_Value definining the pattern for delivery.
47
42
=head2 fav_itemtypes
48
=head2 fav_itemtypes
43
49
44
  data_type: 'mediumtext'
50
  data_type: 'mediumtext'
45
  is_nullable: 1
51
  is_nullable: 1
46
52
53
Free text describing preferred itemtypes.
54
47
=head2 fav_subjects
55
=head2 fav_subjects
48
56
49
  data_type: 'mediumtext'
57
  data_type: 'mediumtext'
50
  is_nullable: 1
58
  is_nullable: 1
51
59
60
Free text describing preferred subjects.
61
52
=head2 fav_authors
62
=head2 fav_authors
53
63
54
  data_type: 'mediumtext'
64
  data_type: 'mediumtext'
55
  is_nullable: 1
65
  is_nullable: 1
56
66
67
Free text describing preferred authors.
68
57
=head2 referral
69
=head2 referral
58
70
59
  data_type: 'mediumtext'
71
  data_type: 'mediumtext'
60
  is_nullable: 1
72
  is_nullable: 1
61
73
74
Free text indicating how the borrower was added to the service.
75
62
=head2 notes
76
=head2 notes
63
77
64
  data_type: 'mediumtext'
78
  data_type: 'mediumtext'
65
  is_nullable: 1
79
  is_nullable: 1
66
80
81
Free text for additional notes.
82
67
=cut
83
=cut
68
84
69
__PACKAGE__->add_columns(
85
__PACKAGE__->add_columns(
Lines 130-137 __PACKAGE__->has_many( Link Here
130
);
146
);
131
147
132
148
133
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
149
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
134
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ESpGqu3oX9qad3elnDvOiw
150
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Kn8ysQJBBMF8hNU8sRrlig
135
151
136
sub koha_object_class {
152
sub koha_object_class {
137
    'Koha::Patron::HouseboundProfile';
153
    'Koha::Patron::HouseboundProfile';
(-)a/Koha/Schema/Result/HouseboundRole.pm (-2 / +8 lines)
Lines 29-46 __PACKAGE__->table("housebound_role"); Link Here
29
  is_foreign_key: 1
29
  is_foreign_key: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
borrowernumber link
33
32
=head2 housebound_chooser
34
=head2 housebound_chooser
33
35
34
  data_type: 'tinyint'
36
  data_type: 'tinyint'
35
  default_value: 0
37
  default_value: 0
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
set to 1 to indicate this patron is a housebound chooser volunteer
41
38
=head2 housebound_deliverer
42
=head2 housebound_deliverer
39
43
40
  data_type: 'tinyint'
44
  data_type: 'tinyint'
41
  default_value: 0
45
  default_value: 0
42
  is_nullable: 0
46
  is_nullable: 0
43
47
48
set to 1 to indicate this patron is a housebound deliverer volunteer
49
44
=cut
50
=cut
45
51
46
__PACKAGE__->add_columns(
52
__PACKAGE__->add_columns(
Lines 82-89 __PACKAGE__->belongs_to( Link Here
82
);
88
);
83
89
84
90
85
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-10-21 18:20:25
91
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
86
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SU7khVgiUf1OVvaFpKaFPA
92
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VDQ+m99d4dXk8GOeXxSELQ
87
93
88
sub koha_object_class {
94
sub koha_object_class {
89
    'Koha::Patron::HouseboundRole';
95
    'Koha::Patron::HouseboundRole';
(-)a/Koha/Schema/Result/HouseboundVisit.pm (-2 / +14 lines)
Lines 29-64 __PACKAGE__->table("housebound_visit"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
ID of the visit.
33
32
=head2 borrowernumber
34
=head2 borrowernumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
Number of the borrower, & the profile, linked to this visit.
41
38
=head2 appointment_date
42
=head2 appointment_date
39
43
40
  data_type: 'date'
44
  data_type: 'date'
41
  datetime_undef_if_invalid: 1
45
  datetime_undef_if_invalid: 1
42
  is_nullable: 1
46
  is_nullable: 1
43
47
48
Date of visit.
49
44
=head2 day_segment
50
=head2 day_segment
45
51
46
  data_type: 'varchar'
52
  data_type: 'varchar'
47
  is_nullable: 1
53
  is_nullable: 1
48
  size: 10
54
  size: 10
49
55
56
Rough time frame: 'morning', 'afternoon' 'evening'
57
50
=head2 chooser_brwnumber
58
=head2 chooser_brwnumber
51
59
52
  data_type: 'integer'
60
  data_type: 'integer'
53
  is_foreign_key: 1
61
  is_foreign_key: 1
54
  is_nullable: 1
62
  is_nullable: 1
55
63
64
Number of the borrower to choose items  for delivery.
65
56
=head2 deliverer_brwnumber
66
=head2 deliverer_brwnumber
57
67
58
  data_type: 'integer'
68
  data_type: 'integer'
59
  is_foreign_key: 1
69
  is_foreign_key: 1
60
  is_nullable: 1
70
  is_nullable: 1
61
71
72
Number of the borrower to deliver items.
73
62
=cut
74
=cut
63
75
64
__PACKAGE__->add_columns(
76
__PACKAGE__->add_columns(
Lines 146-153 __PACKAGE__->belongs_to( Link Here
146
);
158
);
147
159
148
160
149
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-25 13:21:23
161
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
150
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5zyc7l2BtF5cgpZeKbJNZg
162
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Prm180VwMowL77YrM+1z+g
151
163
152
sub koha_object_class {
164
sub koha_object_class {
153
    'Koha::Patron::HouseboundVisit';
165
    'Koha::Patron::HouseboundVisit';
(-)a/Koha/Schema/Result/Illcomment.pm (-2 / +12 lines)
Lines 29-34 __PACKAGE__->table("illcomments"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
Unique ID of the comment
33
32
=head2 illrequest_id
34
=head2 illrequest_id
33
35
34
  data_type: 'bigint'
36
  data_type: 'bigint'
Lines 36-52 __PACKAGE__->table("illcomments"); Link Here
36
  is_foreign_key: 1
38
  is_foreign_key: 1
37
  is_nullable: 0
39
  is_nullable: 0
38
40
41
ILL request number
42
39
=head2 borrowernumber
43
=head2 borrowernumber
40
44
41
  data_type: 'integer'
45
  data_type: 'integer'
42
  is_foreign_key: 1
46
  is_foreign_key: 1
43
  is_nullable: 1
47
  is_nullable: 1
44
48
49
Link to the user who made the comment (could be librarian, patron or ILL partner library)
50
45
=head2 comment
51
=head2 comment
46
52
47
  data_type: 'text'
53
  data_type: 'text'
48
  is_nullable: 1
54
  is_nullable: 1
49
55
56
The text of the comment
57
50
=head2 timestamp
58
=head2 timestamp
51
59
52
  data_type: 'timestamp'
60
  data_type: 'timestamp'
Lines 54-59 __PACKAGE__->table("illcomments"); Link Here
54
  default_value: current_timestamp
62
  default_value: current_timestamp
55
  is_nullable: 0
63
  is_nullable: 0
56
64
65
Date and time when the comment was made
66
57
=cut
67
=cut
58
68
59
__PACKAGE__->add_columns(
69
__PACKAGE__->add_columns(
Lines 129-136 __PACKAGE__->belongs_to( Link Here
129
);
139
);
130
140
131
141
132
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-26 19:57:17
142
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
133
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JJC9ohn0V61+WzMppDKUJw
143
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QM8yi8lNH5hbnbhqaeIy2g
134
144
135
145
136
# You can replace this text with custom code or comments, and it will be preserved on regeneration
146
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Illrequest.pm (-2 / +36 lines)
Lines 30-46 __PACKAGE__->table("illrequests"); Link Here
30
  is_auto_increment: 1
30
  is_auto_increment: 1
31
  is_nullable: 0
31
  is_nullable: 0
32
32
33
ILL request number
34
33
=head2 borrowernumber
35
=head2 borrowernumber
34
36
35
  data_type: 'integer'
37
  data_type: 'integer'
36
  is_foreign_key: 1
38
  is_foreign_key: 1
37
  is_nullable: 1
39
  is_nullable: 1
38
40
41
Patron associated with request
42
39
=head2 biblio_id
43
=head2 biblio_id
40
44
41
  data_type: 'integer'
45
  data_type: 'integer'
42
  is_nullable: 1
46
  is_nullable: 1
43
47
48
Potential bib linked to request
49
44
=head2 branchcode
50
=head2 branchcode
45
51
46
  data_type: 'varchar'
52
  data_type: 'varchar'
Lines 48-59 __PACKAGE__->table("illrequests"); Link Here
48
  is_nullable: 0
54
  is_nullable: 0
49
  size: 50
55
  size: 50
50
56
57
The branch associated with the request
58
51
=head2 status
59
=head2 status
52
60
53
  data_type: 'varchar'
61
  data_type: 'varchar'
54
  is_nullable: 1
62
  is_nullable: 1
55
  size: 50
63
  size: 50
56
64
65
Current Koha status of request
66
57
=head2 status_alias
67
=head2 status_alias
58
68
59
  data_type: 'varchar'
69
  data_type: 'varchar'
Lines 61-78 __PACKAGE__->table("illrequests"); Link Here
61
  is_nullable: 1
71
  is_nullable: 1
62
  size: 80
72
  size: 80
63
73
74
Foreign key to relevant authorised_values.authorised_value
75
64
=head2 placed
76
=head2 placed
65
77
66
  data_type: 'date'
78
  data_type: 'date'
67
  datetime_undef_if_invalid: 1
79
  datetime_undef_if_invalid: 1
68
  is_nullable: 1
80
  is_nullable: 1
69
81
82
Date the request was placed
83
70
=head2 replied
84
=head2 replied
71
85
72
  data_type: 'date'
86
  data_type: 'date'
73
  datetime_undef_if_invalid: 1
87
  datetime_undef_if_invalid: 1
74
  is_nullable: 1
88
  is_nullable: 1
75
89
90
Last API response
91
76
=head2 updated
92
=head2 updated
77
93
78
  data_type: 'timestamp'
94
  data_type: 'timestamp'
Lines 86-137 __PACKAGE__->table("illrequests"); Link Here
86
  datetime_undef_if_invalid: 1
102
  datetime_undef_if_invalid: 1
87
  is_nullable: 1
103
  is_nullable: 1
88
104
105
Date the request was completed
106
89
=head2 medium
107
=head2 medium
90
108
91
  data_type: 'varchar'
109
  data_type: 'varchar'
92
  is_nullable: 1
110
  is_nullable: 1
93
  size: 30
111
  size: 30
94
112
113
The Koha request type
114
95
=head2 accessurl
115
=head2 accessurl
96
116
97
  data_type: 'varchar'
117
  data_type: 'varchar'
98
  is_nullable: 1
118
  is_nullable: 1
99
  size: 500
119
  size: 500
100
120
121
Potential URL for accessing item
122
101
=head2 cost
123
=head2 cost
102
124
103
  data_type: 'varchar'
125
  data_type: 'varchar'
104
  is_nullable: 1
126
  is_nullable: 1
105
  size: 20
127
  size: 20
106
128
129
Quotes cost of request
130
107
=head2 price_paid
131
=head2 price_paid
108
132
109
  data_type: 'varchar'
133
  data_type: 'varchar'
110
  is_nullable: 1
134
  is_nullable: 1
111
  size: 20
135
  size: 20
112
136
137
Final cost of request
138
113
=head2 notesopac
139
=head2 notesopac
114
140
115
  data_type: 'mediumtext'
141
  data_type: 'mediumtext'
116
  is_nullable: 1
142
  is_nullable: 1
117
143
144
Patron notes attached to request
145
118
=head2 notesstaff
146
=head2 notesstaff
119
147
120
  data_type: 'mediumtext'
148
  data_type: 'mediumtext'
121
  is_nullable: 1
149
  is_nullable: 1
122
150
151
Staff notes attached to request
152
123
=head2 orderid
153
=head2 orderid
124
154
125
  data_type: 'varchar'
155
  data_type: 'varchar'
126
  is_nullable: 1
156
  is_nullable: 1
127
  size: 50
157
  size: 50
128
158
159
Backend id attached to request
160
129
=head2 backend
161
=head2 backend
130
162
131
  data_type: 'varchar'
163
  data_type: 'varchar'
132
  is_nullable: 1
164
  is_nullable: 1
133
  size: 20
165
  size: 20
134
166
167
The backend used to create request
168
135
=cut
169
=cut
136
170
137
__PACKAGE__->add_columns(
171
__PACKAGE__->add_columns(
Lines 283-290 __PACKAGE__->belongs_to( Link Here
283
);
317
);
284
318
285
319
286
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-02-22 14:32:49
320
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
287
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:I6fY8XRfEmRxSzOeVT9Krw
321
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GNYtw75SblcxetqJ0Jb7xA
288
322
289
323
290
# You can replace this text with custom code or comments, and it will be preserved on regeneration
324
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Illrequestattribute.pm (-2 / +10 lines)
Lines 30-52 __PACKAGE__->table("illrequestattributes"); Link Here
30
  is_foreign_key: 1
30
  is_foreign_key: 1
31
  is_nullable: 0
31
  is_nullable: 0
32
32
33
ILL request number
34
33
=head2 type
35
=head2 type
34
36
35
  data_type: 'varchar'
37
  data_type: 'varchar'
36
  is_nullable: 0
38
  is_nullable: 0
37
  size: 200
39
  size: 200
38
40
41
API ILL property name
42
39
=head2 value
43
=head2 value
40
44
41
  data_type: 'mediumtext'
45
  data_type: 'mediumtext'
42
  is_nullable: 0
46
  is_nullable: 0
43
47
48
API ILL property value
49
44
=head2 readonly
50
=head2 readonly
45
51
46
  data_type: 'tinyint'
52
  data_type: 'tinyint'
47
  default_value: 1
53
  default_value: 1
48
  is_nullable: 0
54
  is_nullable: 0
49
55
56
Is this attribute read only
57
50
=cut
58
=cut
51
59
52
__PACKAGE__->add_columns(
60
__PACKAGE__->add_columns(
Lines 97-104 __PACKAGE__->belongs_to( Link Here
97
);
105
);
98
106
99
107
100
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-05-17 09:17:53
108
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
101
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sFY1giVMz5AkXCPidhyGjw
109
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:f9g81zrH/C/Bg0Z1XkcF1g
102
110
103
__PACKAGE__->add_columns(
111
__PACKAGE__->add_columns(
104
    '+readonly' => { is_boolean => 1 }
112
    '+readonly' => { is_boolean => 1 }
(-)a/Koha/Schema/Result/ImportBatch.pm (-2 / +28 lines)
Lines 29-39 __PACKAGE__->table("import_batches"); 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 and primary key
33
32
=head2 matcher_id
34
=head2 matcher_id
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_nullable: 1
37
  is_nullable: 1
36
38
39
the id of the match rule used (matchpoints.matcher_id)
40
37
=head2 template_id
41
=head2 template_id
38
42
39
  data_type: 'integer'
43
  data_type: 'integer'
Lines 51-62 __PACKAGE__->table("import_batches"); Link Here
51
  default_value: 0
55
  default_value: 0
52
  is_nullable: 0
56
  is_nullable: 0
53
57
58
number of records in the file
59
54
=head2 num_items
60
=head2 num_items
55
61
56
  data_type: 'integer'
62
  data_type: 'integer'
57
  default_value: 0
63
  default_value: 0
58
  is_nullable: 0
64
  is_nullable: 0
59
65
66
number of items in the file
67
60
=head2 upload_timestamp
68
=head2 upload_timestamp
61
69
62
  data_type: 'timestamp'
70
  data_type: 'timestamp'
Lines 64-69 __PACKAGE__->table("import_batches"); Link Here
64
  default_value: current_timestamp
72
  default_value: current_timestamp
65
  is_nullable: 0
73
  is_nullable: 0
66
74
75
date and time the file was uploaded
76
67
=head2 overlay_action
77
=head2 overlay_action
68
78
69
  data_type: 'enum'
79
  data_type: 'enum'
Lines 71-76 __PACKAGE__->table("import_batches"); Link Here
71
  extra: {list => ["replace","create_new","use_template","ignore"]}
81
  extra: {list => ["replace","create_new","use_template","ignore"]}
72
  is_nullable: 0
82
  is_nullable: 0
73
83
84
how to handle duplicate records
85
74
=head2 nomatch_action
86
=head2 nomatch_action
75
87
76
  data_type: 'enum'
88
  data_type: 'enum'
Lines 78-83 __PACKAGE__->table("import_batches"); Link Here
78
  extra: {list => ["create_new","ignore"]}
90
  extra: {list => ["create_new","ignore"]}
79
  is_nullable: 0
91
  is_nullable: 0
80
92
93
how to handle records where no match is found
94
81
=head2 item_action
95
=head2 item_action
82
96
83
  data_type: 'enum'
97
  data_type: 'enum'
Lines 85-90 __PACKAGE__->table("import_batches"); Link Here
85
  extra: {list => ["always_add","add_only_for_matches","add_only_for_new","ignore","replace"]}
99
  extra: {list => ["always_add","add_only_for_matches","add_only_for_new","ignore","replace"]}
86
  is_nullable: 0
100
  is_nullable: 0
87
101
102
what to do with item records
103
88
=head2 import_status
104
=head2 import_status
89
105
90
  data_type: 'enum'
106
  data_type: 'enum'
Lines 92-97 __PACKAGE__->table("import_batches"); Link Here
92
  extra: {list => ["staging","staged","importing","imported","reverting","reverted","cleaned"]}
108
  extra: {list => ["staging","staged","importing","imported","reverting","reverted","cleaned"]}
93
  is_nullable: 0
109
  is_nullable: 0
94
110
111
the status of the imported file
112
95
=head2 batch_type
113
=head2 batch_type
96
114
97
  data_type: 'enum'
115
  data_type: 'enum'
Lines 99-104 __PACKAGE__->table("import_batches"); Link Here
99
  extra: {list => ["batch","z3950","webservice"]}
117
  extra: {list => ["batch","z3950","webservice"]}
100
  is_nullable: 0
118
  is_nullable: 0
101
119
120
where this batch has come from
121
102
=head2 record_type
122
=head2 record_type
103
123
104
  data_type: 'enum'
124
  data_type: 'enum'
Lines 106-122 __PACKAGE__->table("import_batches"); Link Here
106
  extra: {list => ["biblio","auth","holdings"]}
126
  extra: {list => ["biblio","auth","holdings"]}
107
  is_nullable: 0
127
  is_nullable: 0
108
128
129
type of record in the batch
130
109
=head2 file_name
131
=head2 file_name
110
132
111
  data_type: 'varchar'
133
  data_type: 'varchar'
112
  is_nullable: 1
134
  is_nullable: 1
113
  size: 100
135
  size: 100
114
136
137
the name of the file uploaded
138
115
=head2 comments
139
=head2 comments
116
140
117
  data_type: 'longtext'
141
  data_type: 'longtext'
118
  is_nullable: 1
142
  is_nullable: 1
119
143
144
any comments added when the file was uploaded
145
120
=head2 profile_id
146
=head2 profile_id
121
147
122
  data_type: 'integer'
148
  data_type: 'integer'
Lines 263-270 __PACKAGE__->belongs_to( Link Here
263
);
289
);
264
290
265
291
266
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-11-06 13:52:29
292
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
267
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nnGJ0Nvgiz123+ic7v0GqQ
293
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JAr+Z5i1SrCL1TITWad58g
268
294
269
=head2 koha_object_class
295
=head2 koha_object_class
270
296
(-)a/Koha/Schema/Result/ImportBatchProfile.pm (-2 / +26 lines)
Lines 29-96 __PACKAGE__->table("import_batch_profiles"); 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 and primary key
33
32
=head2 name
34
=head2 name
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
35
  is_nullable: 0
37
  is_nullable: 0
36
  size: 100
38
  size: 100
37
39
40
name of this profile
41
38
=head2 matcher_id
42
=head2 matcher_id
39
43
40
  data_type: 'integer'
44
  data_type: 'integer'
41
  is_nullable: 1
45
  is_nullable: 1
42
46
47
the id of the match rule used (matchpoints.matcher_id)
48
43
=head2 template_id
49
=head2 template_id
44
50
45
  data_type: 'integer'
51
  data_type: 'integer'
46
  is_nullable: 1
52
  is_nullable: 1
47
53
54
the id of the marc modification template
55
48
=head2 overlay_action
56
=head2 overlay_action
49
57
50
  data_type: 'varchar'
58
  data_type: 'varchar'
51
  is_nullable: 1
59
  is_nullable: 1
52
  size: 50
60
  size: 50
53
61
62
how to handle duplicate records
63
54
=head2 nomatch_action
64
=head2 nomatch_action
55
65
56
  data_type: 'varchar'
66
  data_type: 'varchar'
57
  is_nullable: 1
67
  is_nullable: 1
58
  size: 50
68
  size: 50
59
69
70
how to handle records where no match is found
71
60
=head2 item_action
72
=head2 item_action
61
73
62
  data_type: 'varchar'
74
  data_type: 'varchar'
63
  is_nullable: 1
75
  is_nullable: 1
64
  size: 50
76
  size: 50
65
77
78
what to do with item records
79
66
=head2 parse_items
80
=head2 parse_items
67
81
68
  data_type: 'tinyint'
82
  data_type: 'tinyint'
69
  is_nullable: 1
83
  is_nullable: 1
70
84
85
should items be parsed
86
71
=head2 record_type
87
=head2 record_type
72
88
73
  data_type: 'varchar'
89
  data_type: 'varchar'
74
  is_nullable: 1
90
  is_nullable: 1
75
  size: 50
91
  size: 50
76
92
93
type of record in the batch
94
77
=head2 encoding
95
=head2 encoding
78
96
79
  data_type: 'varchar'
97
  data_type: 'varchar'
80
  is_nullable: 1
98
  is_nullable: 1
81
  size: 50
99
  size: 50
82
100
101
file encoding
102
83
=head2 format
103
=head2 format
84
104
85
  data_type: 'varchar'
105
  data_type: 'varchar'
86
  is_nullable: 1
106
  is_nullable: 1
87
  size: 50
107
  size: 50
88
108
109
marc format
110
89
=head2 comments
111
=head2 comments
90
112
91
  data_type: 'longtext'
113
  data_type: 'longtext'
92
  is_nullable: 1
114
  is_nullable: 1
93
115
116
any comments added when the file was uploaded
117
94
=cut
118
=cut
95
119
96
__PACKAGE__->add_columns(
120
__PACKAGE__->add_columns(
Lines 164-171 __PACKAGE__->has_many( Link Here
164
);
188
);
165
189
166
190
167
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-11-06 13:52:29
191
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
168
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kThbQZTT2c0fuWAGgvoDLQ
192
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SsG6P/HVwk5ffR0kx6rpNA
169
193
170
194
171
# You can replace this text with custom code or comments, and it will be preserved on regeneration
195
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/ImportRecordMatch.pm (-2 / +8 lines)
Lines 29-45 __PACKAGE__->table("import_record_matches"); Link Here
29
  is_foreign_key: 1
29
  is_foreign_key: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
the id given to the imported bib record (import_records.import_record_id)
33
32
=head2 candidate_match_id
34
=head2 candidate_match_id
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_nullable: 0
37
  is_nullable: 0
36
38
39
the biblio the imported record matches (biblio.biblionumber)
40
37
=head2 score
41
=head2 score
38
42
39
  data_type: 'integer'
43
  data_type: 'integer'
40
  default_value: 0
44
  default_value: 0
41
  is_nullable: 0
45
  is_nullable: 0
42
46
47
the match score
48
43
=cut
49
=cut
44
50
45
__PACKAGE__->add_columns(
51
__PACKAGE__->add_columns(
Lines 69-76 __PACKAGE__->belongs_to( Link Here
69
);
75
);
70
76
71
77
72
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
78
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
73
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hJW36EeP+H8+0/Ij3iuIFw
79
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:DQgMbHk2TGPgbka2NJEDKQ
74
80
75
81
76
# You can replace this text with custom code or comments, and it will be preserved on regeneration
82
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Issue.pm (-2 / +38 lines)
Lines 29-100 __PACKAGE__->table("issues"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
primary key for issues table
33
32
=head2 borrowernumber
34
=head2 borrowernumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 1
38
  is_nullable: 1
37
39
40
foreign key, linking this to the borrowers table for the patron this item was checked out to
41
38
=head2 issuer_id
42
=head2 issuer_id
39
43
40
  data_type: 'integer'
44
  data_type: 'integer'
41
  is_foreign_key: 1
45
  is_foreign_key: 1
42
  is_nullable: 1
46
  is_nullable: 1
43
47
48
foreign key, linking this to the borrowers table for the user who checked out this item
49
44
=head2 itemnumber
50
=head2 itemnumber
45
51
46
  data_type: 'integer'
52
  data_type: 'integer'
47
  is_foreign_key: 1
53
  is_foreign_key: 1
48
  is_nullable: 1
54
  is_nullable: 1
49
55
56
foreign key, linking this to the items table for the item that was checked out
57
50
=head2 date_due
58
=head2 date_due
51
59
52
  data_type: 'datetime'
60
  data_type: 'datetime'
53
  datetime_undef_if_invalid: 1
61
  datetime_undef_if_invalid: 1
54
  is_nullable: 1
62
  is_nullable: 1
55
63
64
datetime the item is due (yyyy-mm-dd hh:mm::ss)
65
56
=head2 branchcode
66
=head2 branchcode
57
67
58
  data_type: 'varchar'
68
  data_type: 'varchar'
59
  is_nullable: 1
69
  is_nullable: 1
60
  size: 10
70
  size: 10
61
71
72
foreign key, linking to the branches table for the location the item was checked out
73
62
=head2 returndate
74
=head2 returndate
63
75
64
  data_type: 'datetime'
76
  data_type: 'datetime'
65
  datetime_undef_if_invalid: 1
77
  datetime_undef_if_invalid: 1
66
  is_nullable: 1
78
  is_nullable: 1
67
79
80
date the item was returned, will be NULL until moved to old_issues
81
68
=head2 lastreneweddate
82
=head2 lastreneweddate
69
83
70
  data_type: 'datetime'
84
  data_type: 'datetime'
71
  datetime_undef_if_invalid: 1
85
  datetime_undef_if_invalid: 1
72
  is_nullable: 1
86
  is_nullable: 1
73
87
88
date the item was last renewed
89
74
=head2 renewals
90
=head2 renewals
75
91
76
  data_type: 'tinyint'
92
  data_type: 'tinyint'
77
  default_value: 0
93
  default_value: 0
78
  is_nullable: 0
94
  is_nullable: 0
79
95
96
lists the number of times the item was renewed
97
80
=head2 unseen_renewals
98
=head2 unseen_renewals
81
99
82
  data_type: 'tinyint'
100
  data_type: 'tinyint'
83
  default_value: 0
101
  default_value: 0
84
  is_nullable: 0
102
  is_nullable: 0
85
103
104
lists the number of consecutive times the item was renewed without being seen
105
86
=head2 auto_renew
106
=head2 auto_renew
87
107
88
  data_type: 'tinyint'
108
  data_type: 'tinyint'
89
  default_value: 0
109
  default_value: 0
90
  is_nullable: 1
110
  is_nullable: 1
91
111
112
automatic renewal
113
92
=head2 auto_renew_error
114
=head2 auto_renew_error
93
115
94
  data_type: 'varchar'
116
  data_type: 'varchar'
95
  is_nullable: 1
117
  is_nullable: 1
96
  size: 32
118
  size: 32
97
119
120
automatic renewal error
121
98
=head2 timestamp
122
=head2 timestamp
99
123
100
  data_type: 'timestamp'
124
  data_type: 'timestamp'
Lines 102-135 __PACKAGE__->table("issues"); Link Here
102
  default_value: current_timestamp
126
  default_value: current_timestamp
103
  is_nullable: 0
127
  is_nullable: 0
104
128
129
the date and time this record was last touched
130
105
=head2 issuedate
131
=head2 issuedate
106
132
107
  data_type: 'datetime'
133
  data_type: 'datetime'
108
  datetime_undef_if_invalid: 1
134
  datetime_undef_if_invalid: 1
109
  is_nullable: 1
135
  is_nullable: 1
110
136
137
date the item was checked out or issued
138
111
=head2 onsite_checkout
139
=head2 onsite_checkout
112
140
113
  data_type: 'integer'
141
  data_type: 'integer'
114
  default_value: 0
142
  default_value: 0
115
  is_nullable: 0
143
  is_nullable: 0
116
144
145
in house use flag
146
117
=head2 note
147
=head2 note
118
148
119
  data_type: 'longtext'
149
  data_type: 'longtext'
120
  is_nullable: 1
150
  is_nullable: 1
121
151
152
issue note text
153
122
=head2 notedate
154
=head2 notedate
123
155
124
  data_type: 'datetime'
156
  data_type: 'datetime'
125
  datetime_undef_if_invalid: 1
157
  datetime_undef_if_invalid: 1
126
  is_nullable: 1
158
  is_nullable: 1
127
159
160
datetime of issue note (yyyy-mm-dd hh:mm::ss)
161
128
=head2 noteseen
162
=head2 noteseen
129
163
130
  data_type: 'integer'
164
  data_type: 'integer'
131
  is_nullable: 1
165
  is_nullable: 1
132
166
167
describes whether checkout note has been seen 1, not been seen 0 or doesn't exist null
168
133
=cut
169
=cut
134
170
135
__PACKAGE__->add_columns(
171
__PACKAGE__->add_columns(
Lines 300-307 __PACKAGE__->might_have( Link Here
300
);
336
);
301
337
302
338
303
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-11-11 14:23:25
339
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
304
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SbeR9Pgvk2sMd+dYPAiCeA
340
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UZCAInCKLuz8hLkUsgL5wQ
305
341
306
__PACKAGE__->add_columns(
342
__PACKAGE__->add_columns(
307
    '+auto_renew'      => { is_boolean => 1 },
343
    '+auto_renew'      => { is_boolean => 1 },
(-)a/Koha/Schema/Result/Item.pm (-2 / +90 lines)
Lines 29-34 __PACKAGE__->table("items"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
primary key and unique identifier added by Koha
33
32
=head2 biblionumber
34
=head2 biblionumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
Lines 36-41 __PACKAGE__->table("items"); 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 item to the right bib record
42
39
=head2 biblioitemnumber
43
=head2 biblioitemnumber
40
44
41
  data_type: 'integer'
45
  data_type: 'integer'
Lines 43-65 __PACKAGE__->table("items"); Link Here
43
  is_foreign_key: 1
47
  is_foreign_key: 1
44
  is_nullable: 0
48
  is_nullable: 0
45
49
50
foreign key from the biblioitems table to link to item to additional information
51
46
=head2 barcode
52
=head2 barcode
47
53
48
  data_type: 'varchar'
54
  data_type: 'varchar'
49
  is_nullable: 1
55
  is_nullable: 1
50
  size: 20
56
  size: 20
51
57
58
item barcode (MARC21 952$p)
59
52
=head2 dateaccessioned
60
=head2 dateaccessioned
53
61
54
  data_type: 'date'
62
  data_type: 'date'
55
  datetime_undef_if_invalid: 1
63
  datetime_undef_if_invalid: 1
56
  is_nullable: 1
64
  is_nullable: 1
57
65
66
date the item was acquired or added to Koha (MARC21 952$d)
67
58
=head2 booksellerid
68
=head2 booksellerid
59
69
60
  data_type: 'longtext'
70
  data_type: 'longtext'
61
  is_nullable: 1
71
  is_nullable: 1
62
72
73
where the item was purchased (MARC21 952$e)
74
63
=head2 homebranch
75
=head2 homebranch
64
76
65
  data_type: 'varchar'
77
  data_type: 'varchar'
Lines 67-102 __PACKAGE__->table("items"); Link Here
67
  is_nullable: 1
79
  is_nullable: 1
68
  size: 10
80
  size: 10
69
81
82
foreign key from the branches table for the library that owns this item (MARC21 952$a)
83
70
=head2 price
84
=head2 price
71
85
72
  data_type: 'decimal'
86
  data_type: 'decimal'
73
  is_nullable: 1
87
  is_nullable: 1
74
  size: [8,2]
88
  size: [8,2]
75
89
90
purchase price (MARC21 952$g)
91
76
=head2 replacementprice
92
=head2 replacementprice
77
93
78
  data_type: 'decimal'
94
  data_type: 'decimal'
79
  is_nullable: 1
95
  is_nullable: 1
80
  size: [8,2]
96
  size: [8,2]
81
97
98
cost the library charges to replace the item if it has been marked lost (MARC21 952$v)
99
82
=head2 replacementpricedate
100
=head2 replacementpricedate
83
101
84
  data_type: 'date'
102
  data_type: 'date'
85
  datetime_undef_if_invalid: 1
103
  datetime_undef_if_invalid: 1
86
  is_nullable: 1
104
  is_nullable: 1
87
105
106
the date the price is effective from (MARC21 952$w)
107
88
=head2 datelastborrowed
108
=head2 datelastborrowed
89
109
90
  data_type: 'date'
110
  data_type: 'date'
91
  datetime_undef_if_invalid: 1
111
  datetime_undef_if_invalid: 1
92
  is_nullable: 1
112
  is_nullable: 1
93
113
114
the date the item was last checked out/issued
115
94
=head2 datelastseen
116
=head2 datelastseen
95
117
96
  data_type: 'date'
118
  data_type: 'date'
97
  datetime_undef_if_invalid: 1
119
  datetime_undef_if_invalid: 1
98
  is_nullable: 1
120
  is_nullable: 1
99
121
122
the date the item was last see (usually the last time the barcode was scanned or inventory was done)
123
100
=head2 stack
124
=head2 stack
101
125
102
  data_type: 'tinyint'
126
  data_type: 'tinyint'
Lines 108-192 __PACKAGE__->table("items"); Link Here
108
  default_value: 0
132
  default_value: 0
109
  is_nullable: 0
133
  is_nullable: 0
110
134
135
authorized value defining why this item is not for loan (MARC21 952$7)
136
111
=head2 damaged
137
=head2 damaged
112
138
113
  data_type: 'tinyint'
139
  data_type: 'tinyint'
114
  default_value: 0
140
  default_value: 0
115
  is_nullable: 0
141
  is_nullable: 0
116
142
143
authorized value defining this item as damaged (MARC21 952$4)
144
117
=head2 damaged_on
145
=head2 damaged_on
118
146
119
  data_type: 'datetime'
147
  data_type: 'datetime'
120
  datetime_undef_if_invalid: 1
148
  datetime_undef_if_invalid: 1
121
  is_nullable: 1
149
  is_nullable: 1
122
150
151
the date and time an item was last marked as damaged, NULL if not damaged
152
123
=head2 itemlost
153
=head2 itemlost
124
154
125
  data_type: 'tinyint'
155
  data_type: 'tinyint'
126
  default_value: 0
156
  default_value: 0
127
  is_nullable: 0
157
  is_nullable: 0
128
158
159
authorized value defining this item as lost (MARC21 952$1)
160
129
=head2 itemlost_on
161
=head2 itemlost_on
130
162
131
  data_type: 'datetime'
163
  data_type: 'datetime'
132
  datetime_undef_if_invalid: 1
164
  datetime_undef_if_invalid: 1
133
  is_nullable: 1
165
  is_nullable: 1
134
166
167
the date and time an item was last marked as lost, NULL if not lost
168
135
=head2 withdrawn
169
=head2 withdrawn
136
170
137
  data_type: 'tinyint'
171
  data_type: 'tinyint'
138
  default_value: 0
172
  default_value: 0
139
  is_nullable: 0
173
  is_nullable: 0
140
174
175
authorized value defining this item as withdrawn (MARC21 952$0)
176
141
=head2 withdrawn_on
177
=head2 withdrawn_on
142
178
143
  data_type: 'datetime'
179
  data_type: 'datetime'
144
  datetime_undef_if_invalid: 1
180
  datetime_undef_if_invalid: 1
145
  is_nullable: 1
181
  is_nullable: 1
146
182
183
the date and time an item was last marked as withdrawn, NULL if not withdrawn
184
147
=head2 itemcallnumber
185
=head2 itemcallnumber
148
186
149
  data_type: 'varchar'
187
  data_type: 'varchar'
150
  is_nullable: 1
188
  is_nullable: 1
151
  size: 255
189
  size: 255
152
190
191
call number for this item (MARC21 952$o)
192
153
=head2 coded_location_qualifier
193
=head2 coded_location_qualifier
154
194
155
  data_type: 'varchar'
195
  data_type: 'varchar'
156
  is_nullable: 1
196
  is_nullable: 1
157
  size: 10
197
  size: 10
158
198
199
coded location qualifier(MARC21 952$f)
200
159
=head2 issues
201
=head2 issues
160
202
161
  data_type: 'smallint'
203
  data_type: 'smallint'
162
  default_value: 0
204
  default_value: 0
163
  is_nullable: 1
205
  is_nullable: 1
164
206
207
number of times this item has been checked out/issued
208
165
=head2 renewals
209
=head2 renewals
166
210
167
  data_type: 'smallint'
211
  data_type: 'smallint'
168
  is_nullable: 1
212
  is_nullable: 1
169
213
214
number of times this item has been renewed
215
170
=head2 reserves
216
=head2 reserves
171
217
172
  data_type: 'smallint'
218
  data_type: 'smallint'
173
  is_nullable: 1
219
  is_nullable: 1
174
220
221
number of times this item has been placed on hold/reserved
222
175
=head2 restricted
223
=head2 restricted
176
224
177
  data_type: 'tinyint'
225
  data_type: 'tinyint'
178
  is_nullable: 1
226
  is_nullable: 1
179
227
228
authorized value defining use restrictions for this item (MARC21 952$5)
229
180
=head2 itemnotes
230
=head2 itemnotes
181
231
182
  data_type: 'longtext'
232
  data_type: 'longtext'
183
  is_nullable: 1
233
  is_nullable: 1
184
234
235
public notes on this item (MARC21 952$z)
236
185
=head2 itemnotes_nonpublic
237
=head2 itemnotes_nonpublic
186
238
187
  data_type: 'longtext'
239
  data_type: 'longtext'
188
  is_nullable: 1
240
  is_nullable: 1
189
241
242
non-public notes on this item (MARC21 952$x)
243
190
=head2 holdingbranch
244
=head2 holdingbranch
191
245
192
  data_type: 'varchar'
246
  data_type: 'varchar'
Lines 194-199 __PACKAGE__->table("items"); Link Here
194
  is_nullable: 1
248
  is_nullable: 1
195
  size: 10
249
  size: 10
196
250
251
foreign key from the branches table for the library that is currently in possession item (MARC21 952$b)
252
197
=head2 timestamp
253
=head2 timestamp
198
254
199
  data_type: 'timestamp'
255
  data_type: 'timestamp'
Lines 201-291 __PACKAGE__->table("items"); Link Here
201
  default_value: current_timestamp
257
  default_value: current_timestamp
202
  is_nullable: 0
258
  is_nullable: 0
203
259
260
date and time this item was last altered
261
204
=head2 location
262
=head2 location
205
263
206
  data_type: 'varchar'
264
  data_type: 'varchar'
207
  is_nullable: 1
265
  is_nullable: 1
208
  size: 80
266
  size: 80
209
267
268
authorized value for the shelving location for this item (MARC21 952$c)
269
210
=head2 permanent_location
270
=head2 permanent_location
211
271
212
  data_type: 'varchar'
272
  data_type: 'varchar'
213
  is_nullable: 1
273
  is_nullable: 1
214
  size: 80
274
  size: 80
215
275
276
linked to the CART and PROC temporary locations feature, stores the permanent shelving location
277
216
=head2 onloan
278
=head2 onloan
217
279
218
  data_type: 'date'
280
  data_type: 'date'
219
  datetime_undef_if_invalid: 1
281
  datetime_undef_if_invalid: 1
220
  is_nullable: 1
282
  is_nullable: 1
221
283
284
defines if item is checked out (NULL for not checked out, and due date for checked out)
285
222
=head2 cn_source
286
=head2 cn_source
223
287
224
  data_type: 'varchar'
288
  data_type: 'varchar'
225
  is_nullable: 1
289
  is_nullable: 1
226
  size: 10
290
  size: 10
227
291
292
classification source used on this item (MARC21 952$2)
293
228
=head2 cn_sort
294
=head2 cn_sort
229
295
230
  data_type: 'varchar'
296
  data_type: 'varchar'
231
  is_nullable: 1
297
  is_nullable: 1
232
  size: 255
298
  size: 255
233
299
300
normalized form of the call number (MARC21 952$o) used for sorting
301
234
=head2 ccode
302
=head2 ccode
235
303
236
  data_type: 'varchar'
304
  data_type: 'varchar'
237
  is_nullable: 1
305
  is_nullable: 1
238
  size: 80
306
  size: 80
239
307
308
authorized value for the collection code associated with this item (MARC21 952$8)
309
240
=head2 materials
310
=head2 materials
241
311
242
  data_type: 'mediumtext'
312
  data_type: 'mediumtext'
243
  is_nullable: 1
313
  is_nullable: 1
244
314
315
materials specified (MARC21 952$3)
316
245
=head2 uri
317
=head2 uri
246
318
247
  data_type: 'mediumtext'
319
  data_type: 'mediumtext'
248
  is_nullable: 1
320
  is_nullable: 1
249
321
322
URL for the item (MARC21 952$u)
323
250
=head2 itype
324
=head2 itype
251
325
252
  data_type: 'varchar'
326
  data_type: 'varchar'
253
  is_nullable: 1
327
  is_nullable: 1
254
  size: 10
328
  size: 10
255
329
330
foreign key from the itemtypes table defining the type for this item (MARC21 952$y)
331
256
=head2 more_subfields_xml
332
=head2 more_subfields_xml
257
333
258
  data_type: 'longtext'
334
  data_type: 'longtext'
259
  is_nullable: 1
335
  is_nullable: 1
260
336
337
additional 952 subfields in XML format
338
261
=head2 enumchron
339
=head2 enumchron
262
340
263
  data_type: 'mediumtext'
341
  data_type: 'mediumtext'
264
  is_nullable: 1
342
  is_nullable: 1
265
343
344
serial enumeration/chronology for the item (MARC21 952$h)
345
266
=head2 copynumber
346
=head2 copynumber
267
347
268
  data_type: 'varchar'
348
  data_type: 'varchar'
269
  is_nullable: 1
349
  is_nullable: 1
270
  size: 32
350
  size: 32
271
351
352
copy number (MARC21 952$t)
353
272
=head2 stocknumber
354
=head2 stocknumber
273
355
274
  data_type: 'varchar'
356
  data_type: 'varchar'
275
  is_nullable: 1
357
  is_nullable: 1
276
  size: 32
358
  size: 32
277
359
360
inventory number (MARC21 952$i)
361
278
=head2 new_status
362
=head2 new_status
279
363
280
  data_type: 'varchar'
364
  data_type: 'varchar'
281
  is_nullable: 1
365
  is_nullable: 1
282
  size: 32
366
  size: 32
283
367
368
'new' value, you can put whatever free-text information. This field is intented to be managed by the automatic_item_modification_by_age cronjob.
369
284
=head2 exclude_from_local_holds_priority
370
=head2 exclude_from_local_holds_priority
285
371
286
  data_type: 'tinyint'
372
  data_type: 'tinyint'
287
  is_nullable: 1
373
  is_nullable: 1
288
374
375
Exclude this item from local holds priority
376
289
=cut
377
=cut
290
378
291
__PACKAGE__->add_columns(
379
__PACKAGE__->add_columns(
Lines 762-769 __PACKAGE__->has_many( Link Here
762
);
850
);
763
851
764
852
765
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-10-12 09:13:32
853
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
766
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pmAVO6LxCb6wAJvfh+rndw
854
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GopLobaZCA20jNnT9qoNHw
767
855
768
__PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" );
856
__PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" );
769
857
(-)a/Koha/Schema/Result/Itemtype.pm (-2 / +38 lines)
Lines 30-35 __PACKAGE__->table("itemtypes"); Link Here
30
  is_nullable: 0
30
  is_nullable: 0
31
  size: 10
31
  size: 10
32
32
33
unique key, a code associated with the item type
34
33
=head2 parent_type
35
=head2 parent_type
34
36
35
  data_type: 'varchar'
37
  data_type: 'varchar'
Lines 37-111 __PACKAGE__->table("itemtypes"); Link Here
37
  is_nullable: 1
39
  is_nullable: 1
38
  size: 10
40
  size: 10
39
41
42
unique key, a code associated with the item type
43
40
=head2 description
44
=head2 description
41
45
42
  data_type: 'longtext'
46
  data_type: 'longtext'
43
  is_nullable: 1
47
  is_nullable: 1
44
48
49
a plain text explanation of the item type
50
45
=head2 rentalcharge
51
=head2 rentalcharge
46
52
47
  data_type: 'decimal'
53
  data_type: 'decimal'
48
  is_nullable: 1
54
  is_nullable: 1
49
  size: [28,6]
55
  size: [28,6]
50
56
57
the amount charged when this item is checked out/issued
58
51
=head2 rentalcharge_daily
59
=head2 rentalcharge_daily
52
60
53
  data_type: 'decimal'
61
  data_type: 'decimal'
54
  is_nullable: 1
62
  is_nullable: 1
55
  size: [28,6]
63
  size: [28,6]
56
64
65
the amount charged for each day between checkout date and due date
66
57
=head2 rentalcharge_daily_calendar
67
=head2 rentalcharge_daily_calendar
58
68
59
  data_type: 'tinyint'
69
  data_type: 'tinyint'
60
  default_value: 1
70
  default_value: 1
61
  is_nullable: 0
71
  is_nullable: 0
62
72
73
controls if the daily rental fee is calculated directly or using finesCalendar
74
63
=head2 rentalcharge_hourly
75
=head2 rentalcharge_hourly
64
76
65
  data_type: 'decimal'
77
  data_type: 'decimal'
66
  is_nullable: 1
78
  is_nullable: 1
67
  size: [28,6]
79
  size: [28,6]
68
80
81
the amount charged for each hour between checkout date and due date
82
69
=head2 rentalcharge_hourly_calendar
83
=head2 rentalcharge_hourly_calendar
70
84
71
  data_type: 'tinyint'
85
  data_type: 'tinyint'
72
  default_value: 1
86
  default_value: 1
73
  is_nullable: 0
87
  is_nullable: 0
74
88
89
controls if the hourly rental fee is calculated directly or using finesCalendar
90
75
=head2 defaultreplacecost
91
=head2 defaultreplacecost
76
92
77
  data_type: 'decimal'
93
  data_type: 'decimal'
78
  is_nullable: 1
94
  is_nullable: 1
79
  size: [28,6]
95
  size: [28,6]
80
96
97
default replacement cost
98
81
=head2 processfee
99
=head2 processfee
82
100
83
  data_type: 'decimal'
101
  data_type: 'decimal'
84
  is_nullable: 1
102
  is_nullable: 1
85
  size: [28,6]
103
  size: [28,6]
86
104
105
default text be recorded in the column note when the processing fee is applied
106
87
=head2 notforloan
107
=head2 notforloan
88
108
89
  data_type: 'smallint'
109
  data_type: 'smallint'
90
  is_nullable: 1
110
  is_nullable: 1
91
111
112
1 if the item is not for loan, 0 if the item is available for loan
113
92
=head2 imageurl
114
=head2 imageurl
93
115
94
  data_type: 'varchar'
116
  data_type: 'varchar'
95
  is_nullable: 1
117
  is_nullable: 1
96
  size: 200
118
  size: 200
97
119
120
URL for the item type icon
121
98
=head2 summary
122
=head2 summary
99
123
100
  data_type: 'mediumtext'
124
  data_type: 'mediumtext'
101
  is_nullable: 1
125
  is_nullable: 1
102
126
127
information from the summary field, may include HTML
128
103
=head2 checkinmsg
129
=head2 checkinmsg
104
130
105
  data_type: 'varchar'
131
  data_type: 'varchar'
106
  is_nullable: 1
132
  is_nullable: 1
107
  size: 255
133
  size: 255
108
134
135
message that is displayed when an item with the given item type is checked in
136
109
=head2 checkinmsgtype
137
=head2 checkinmsgtype
110
138
111
  data_type: 'char'
139
  data_type: 'char'
Lines 113-136 __PACKAGE__->table("itemtypes"); Link Here
113
  is_nullable: 0
141
  is_nullable: 0
114
  size: 16
142
  size: 16
115
143
144
type (CSS class) for the checkinmsg, can be 'alert' or 'message'
145
116
=head2 sip_media_type
146
=head2 sip_media_type
117
147
118
  data_type: 'varchar'
148
  data_type: 'varchar'
119
  is_nullable: 1
149
  is_nullable: 1
120
  size: 3
150
  size: 3
121
151
152
SIP2 protocol media type for this itemtype
153
122
=head2 hideinopac
154
=head2 hideinopac
123
155
124
  data_type: 'tinyint'
156
  data_type: 'tinyint'
125
  default_value: 0
157
  default_value: 0
126
  is_nullable: 0
158
  is_nullable: 0
127
159
160
Hide the item type from the search options in OPAC
161
128
=head2 searchcategory
162
=head2 searchcategory
129
163
130
  data_type: 'varchar'
164
  data_type: 'varchar'
131
  is_nullable: 1
165
  is_nullable: 1
132
  size: 80
166
  size: 80
133
167
168
Group this item type with others with the same value on OPAC search options
169
134
=cut
170
=cut
135
171
136
__PACKAGE__->add_columns(
172
__PACKAGE__->add_columns(
Lines 287-294 __PACKAGE__->has_many( Link Here
287
);
323
);
288
324
289
325
290
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-08-13 08:14:04
326
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
291
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5RxmTmtrwJJhTZMur1N05A
327
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ySigxOH7NOKTJVVABRM2dA
292
328
293
__PACKAGE__->add_columns(
329
__PACKAGE__->add_columns(
294
    '+rentalcharge_hourly_calendar' => { is_boolean => 1 },
330
    '+rentalcharge_hourly_calendar' => { is_boolean => 1 },
(-)a/Koha/Schema/Result/LanguageScriptBidi.pm (-2 / +6 lines)
Lines 29-40 __PACKAGE__->table("language_script_bidi"); Link Here
29
  is_nullable: 1
29
  is_nullable: 1
30
  size: 25
30
  size: 25
31
31
32
script subtag, Arab, Hebr, etc.
33
32
=head2 bidi
34
=head2 bidi
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
35
  is_nullable: 1
37
  is_nullable: 1
36
  size: 3
38
  size: 3
37
39
40
rtl ltr
41
38
=cut
42
=cut
39
43
40
__PACKAGE__->add_columns(
44
__PACKAGE__->add_columns(
Lines 45-52 __PACKAGE__->add_columns( Link Here
45
);
49
);
46
50
47
51
48
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
52
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
49
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TBR2kCdB/nvEcdDo8I4rQA
53
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:XWgChkbVuJUVI3XA7bLukA
50
54
51
55
52
# You can replace this text with custom content, and it will be preserved on regeneration
56
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/LanguageSubtagRegistry.pm (-2 / +6 lines)
Lines 35-46 __PACKAGE__->table("language_subtag_registry"); Link Here
35
  is_nullable: 1
35
  is_nullable: 1
36
  size: 25
36
  size: 25
37
37
38
language-script-region-variant-extension-privateuse
39
38
=head2 description
40
=head2 description
39
41
40
  data_type: 'varchar'
42
  data_type: 'varchar'
41
  is_nullable: 1
43
  is_nullable: 1
42
  size: 25
44
  size: 25
43
45
46
only one of the possible descriptions for ease of reference, see language_descriptions for the complete list
47
44
=head2 added
48
=head2 added
45
49
46
  data_type: 'date'
50
  data_type: 'date'
Lines 81-88 __PACKAGE__->add_columns( Link Here
81
__PACKAGE__->set_primary_key("id");
85
__PACKAGE__->set_primary_key("id");
82
86
83
87
84
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
88
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
85
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Rauj/sMGM6sskKuMC/XRcQ
89
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0iEdEFKPcFdTsPE9Gi0XOA
86
90
87
91
88
# You can replace this text with custom content, and it will be preserved on regeneration
92
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Letter.pm (-2 / +22 lines)
Lines 30-35 __PACKAGE__->table("letter"); Link Here
30
  is_nullable: 0
30
  is_nullable: 0
31
  size: 20
31
  size: 20
32
32
33
Koha module that triggers this notice or slip
34
33
=head2 code
35
=head2 code
34
36
35
  data_type: 'varchar'
37
  data_type: 'varchar'
Lines 37-42 __PACKAGE__->table("letter"); Link Here
37
  is_nullable: 0
39
  is_nullable: 0
38
  size: 20
40
  size: 20
39
41
42
unique identifier for this notice or slip
43
40
=head2 branchcode
44
=head2 branchcode
41
45
42
  data_type: 'varchar'
46
  data_type: 'varchar'
Lines 44-49 __PACKAGE__->table("letter"); Link Here
44
  is_nullable: 0
48
  is_nullable: 0
45
  size: 10
49
  size: 10
46
50
51
the branch this notice or slip is used at (branches.branchcode)
52
47
=head2 name
53
=head2 name
48
54
49
  data_type: 'varchar'
55
  data_type: 'varchar'
Lines 51-62 __PACKAGE__->table("letter"); Link Here
51
  is_nullable: 0
57
  is_nullable: 0
52
  size: 100
58
  size: 100
53
59
60
plain text name for this notice or slip
61
54
=head2 is_html
62
=head2 is_html
55
63
56
  data_type: 'tinyint'
64
  data_type: 'tinyint'
57
  default_value: 0
65
  default_value: 0
58
  is_nullable: 1
66
  is_nullable: 1
59
67
68
does this notice or slip use HTML (1 for yes, 0 for no)
69
60
=head2 title
70
=head2 title
61
71
62
  data_type: 'varchar'
72
  data_type: 'varchar'
Lines 64-74 __PACKAGE__->table("letter"); Link Here
64
  is_nullable: 0
74
  is_nullable: 0
65
  size: 200
75
  size: 200
66
76
77
subject line of the notice
78
67
=head2 content
79
=head2 content
68
80
69
  data_type: 'mediumtext'
81
  data_type: 'mediumtext'
70
  is_nullable: 1
82
  is_nullable: 1
71
83
84
body text for the notice or slip
85
72
=head2 message_transport_type
86
=head2 message_transport_type
73
87
74
  data_type: 'varchar'
88
  data_type: 'varchar'
Lines 77-82 __PACKAGE__->table("letter"); Link Here
77
  is_nullable: 0
91
  is_nullable: 0
78
  size: 20
92
  size: 20
79
93
94
transport type for this notice
95
80
=head2 lang
96
=head2 lang
81
97
82
  data_type: 'varchar'
98
  data_type: 'varchar'
Lines 84-89 __PACKAGE__->table("letter"); Link Here
84
  is_nullable: 0
100
  is_nullable: 0
85
  size: 25
101
  size: 25
86
102
103
lang of the notice
104
87
=head2 updated_on
105
=head2 updated_on
88
106
89
  data_type: 'timestamp'
107
  data_type: 'timestamp'
Lines 91-96 __PACKAGE__->table("letter"); Link Here
91
  default_value: current_timestamp
109
  default_value: current_timestamp
92
  is_nullable: 0
110
  is_nullable: 0
93
111
112
last modification
113
94
=cut
114
=cut
95
115
96
__PACKAGE__->add_columns(
116
__PACKAGE__->add_columns(
Lines 170-177 __PACKAGE__->belongs_to( Link Here
170
);
190
);
171
191
172
192
173
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-09-30 15:33:05
193
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
174
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gjuJZIDufXefljX+aP2TPg
194
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/YnudVRAGDv9Ornd02Z3tw
175
195
176
sub koha_object_class {
196
sub koha_object_class {
177
    'Koha::Notice::Template';
197
    'Koha::Notice::Template';
(-)a/Koha/Schema/Result/LibraryGroup.pm (-2 / +24 lines)
Lines 29-40 __PACKAGE__->table("library_groups"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
unique id for each group
33
32
=head2 parent_id
34
=head2 parent_id
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 1
38
  is_nullable: 1
37
39
40
if this is a child group, the id of the parent group
41
38
=head2 branchcode
42
=head2 branchcode
39
43
40
  data_type: 'varchar'
44
  data_type: 'varchar'
Lines 42-88 __PACKAGE__->table("library_groups"); Link Here
42
  is_nullable: 1
46
  is_nullable: 1
43
  size: 10
47
  size: 10
44
48
49
The branchcode of a branch belonging to the parent group
50
45
=head2 title
51
=head2 title
46
52
47
  data_type: 'varchar'
53
  data_type: 'varchar'
48
  is_nullable: 1
54
  is_nullable: 1
49
  size: 100
55
  size: 100
50
56
57
Short description of the goup
58
51
=head2 description
59
=head2 description
52
60
53
  data_type: 'mediumtext'
61
  data_type: 'mediumtext'
54
  is_nullable: 1
62
  is_nullable: 1
55
63
64
Longer explanation of the group, if necessary
65
56
=head2 ft_hide_patron_info
66
=head2 ft_hide_patron_info
57
67
58
  data_type: 'tinyint'
68
  data_type: 'tinyint'
59
  default_value: 0
69
  default_value: 0
60
  is_nullable: 0
70
  is_nullable: 0
61
71
72
Turn on the feature 'Hide patron's info' for this group
73
62
=head2 ft_search_groups_opac
74
=head2 ft_search_groups_opac
63
75
64
  data_type: 'tinyint'
76
  data_type: 'tinyint'
65
  default_value: 0
77
  default_value: 0
66
  is_nullable: 0
78
  is_nullable: 0
67
79
80
Use this group for staff side search groups
81
68
=head2 ft_search_groups_staff
82
=head2 ft_search_groups_staff
69
83
70
  data_type: 'tinyint'
84
  data_type: 'tinyint'
71
  default_value: 0
85
  default_value: 0
72
  is_nullable: 0
86
  is_nullable: 0
73
87
88
Use this group for opac side search groups
89
74
=head2 ft_local_hold_group
90
=head2 ft_local_hold_group
75
91
76
  data_type: 'tinyint'
92
  data_type: 'tinyint'
77
  default_value: 0
93
  default_value: 0
78
  is_nullable: 0
94
  is_nullable: 0
79
95
96
Use this group to identify libraries as pick up location for holds
97
80
=head2 created_on
98
=head2 created_on
81
99
82
  data_type: 'timestamp'
100
  data_type: 'timestamp'
83
  datetime_undef_if_invalid: 1
101
  datetime_undef_if_invalid: 1
84
  is_nullable: 1
102
  is_nullable: 1
85
103
104
Date and time of creation
105
86
=head2 updated_on
106
=head2 updated_on
87
107
88
  data_type: 'timestamp'
108
  data_type: 'timestamp'
Lines 90-95 __PACKAGE__->table("library_groups"); Link Here
90
  default_value: current_timestamp
110
  default_value: current_timestamp
91
  is_nullable: 0
111
  is_nullable: 0
92
112
113
Date and time of last
114
93
=cut
115
=cut
94
116
95
__PACKAGE__->add_columns(
117
__PACKAGE__->add_columns(
Lines 224-231 __PACKAGE__->belongs_to( Link Here
224
);
246
);
225
247
226
248
227
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-01-30 15:43:39
249
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
228
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qg0Ckj0ZBRjSaQgEcvxSZA
250
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:M88qvFivMH/m7Jp+gy9stw
229
251
230
sub koha_object_class {
252
sub koha_object_class {
231
    'Koha::Library::Group';
253
    'Koha::Library::Group';
(-)a/Koha/Schema/Result/Linktracker.pm (-2 / +14 lines)
Lines 29-60 __PACKAGE__->table("linktracker"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
primary key identifier
33
32
=head2 biblionumber
34
=head2 biblionumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_nullable: 1
37
  is_nullable: 1
36
38
39
biblionumber of the record the link is from
40
37
=head2 itemnumber
41
=head2 itemnumber
38
42
39
  data_type: 'integer'
43
  data_type: 'integer'
40
  is_nullable: 1
44
  is_nullable: 1
41
45
46
itemnumber if applicable that the link was from
47
42
=head2 borrowernumber
48
=head2 borrowernumber
43
49
44
  data_type: 'integer'
50
  data_type: 'integer'
45
  is_nullable: 1
51
  is_nullable: 1
46
52
53
borrowernumber who clicked the link
54
47
=head2 url
55
=head2 url
48
56
49
  data_type: 'mediumtext'
57
  data_type: 'mediumtext'
50
  is_nullable: 1
58
  is_nullable: 1
51
59
60
the link itself
61
52
=head2 timeclicked
62
=head2 timeclicked
53
63
54
  data_type: 'datetime'
64
  data_type: 'datetime'
55
  datetime_undef_if_invalid: 1
65
  datetime_undef_if_invalid: 1
56
  is_nullable: 1
66
  is_nullable: 1
57
67
68
the date and time the link was clicked
69
58
=cut
70
=cut
59
71
60
__PACKAGE__->add_columns(
72
__PACKAGE__->add_columns(
Lines 89-96 __PACKAGE__->add_columns( Link Here
89
__PACKAGE__->set_primary_key("id");
101
__PACKAGE__->set_primary_key("id");
90
102
91
103
92
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54
104
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
93
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MSNByG1qh/5CpRYTcLv/gA
105
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hvFaGAQ5h4gEAk2zggg2XA
94
106
95
107
96
# You can replace this text with custom content, and it will be preserved on regeneration
108
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Localization.pm (-2 / +4 lines)
Lines 47-52 __PACKAGE__->table("localization"); Link Here
47
  is_nullable: 0
47
  is_nullable: 0
48
  size: 25
48
  size: 25
49
49
50
could be a foreign key
51
50
=head2 translation
52
=head2 translation
51
53
52
  data_type: 'mediumtext'
54
  data_type: 'mediumtext'
Lines 98-105 __PACKAGE__->set_primary_key("localization_id"); Link Here
98
__PACKAGE__->add_unique_constraint("entity_code_lang", ["entity", "code", "lang"]);
100
__PACKAGE__->add_unique_constraint("entity_code_lang", ["entity", "code", "lang"]);
99
101
100
102
101
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54
103
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
102
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4642LmshpGd3JW7YxM5pIA
104
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3m5AhwkBUV0eL112dIW8ng
103
105
104
106
105
# You can replace this text with custom code or comments, and it will be preserved on regeneration
107
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Message.pm (-2 / +16 lines)
Lines 29-57 __PACKAGE__->table("messages"); 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 by Koha
33
32
=head2 borrowernumber
34
=head2 borrowernumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
foreign key linking this message to the borrowers table
41
38
=head2 branchcode
42
=head2 branchcode
39
43
40
  data_type: 'varchar'
44
  data_type: 'varchar'
41
  is_nullable: 1
45
  is_nullable: 1
42
  size: 10
46
  size: 10
43
47
48
foreign key linking the message to the branches table
49
44
=head2 message_type
50
=head2 message_type
45
51
46
  data_type: 'varchar'
52
  data_type: 'varchar'
47
  is_nullable: 0
53
  is_nullable: 0
48
  size: 1
54
  size: 1
49
55
56
whether the message is for the librarians (L) or the patron (B)
57
50
=head2 message
58
=head2 message
51
59
52
  data_type: 'mediumtext'
60
  data_type: 'mediumtext'
53
  is_nullable: 0
61
  is_nullable: 0
54
62
63
the text of the message
64
55
=head2 message_date
65
=head2 message_date
56
66
57
  data_type: 'timestamp'
67
  data_type: 'timestamp'
Lines 59-70 __PACKAGE__->table("messages"); Link Here
59
  default_value: current_timestamp
69
  default_value: current_timestamp
60
  is_nullable: 0
70
  is_nullable: 0
61
71
72
the date and time the message was written
73
62
=head2 manager_id
74
=head2 manager_id
63
75
64
  data_type: 'integer'
76
  data_type: 'integer'
65
  is_foreign_key: 1
77
  is_foreign_key: 1
66
  is_nullable: 1
78
  is_nullable: 1
67
79
80
creator of message
81
68
=cut
82
=cut
69
83
70
__PACKAGE__->add_columns(
84
__PACKAGE__->add_columns(
Lines 139-146 __PACKAGE__->belongs_to( Link Here
139
);
153
);
140
154
141
155
142
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-02-15 13:15:09
156
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
143
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kYM+0CFPm/wdNp7EosdlRw
157
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EDJMOeEw3pPEpeUXVHo7dQ
144
158
145
sub koha_object_class {
159
sub koha_object_class {
146
    'Koha::Patron::Message';
160
    'Koha::Patron::Message';
(-)a/Koha/Schema/Result/MiscFile.pm (-2 / +18 lines)
Lines 29-68 __PACKAGE__->table("misc_files"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
unique id for the file record
33
32
=head2 table_tag
34
=head2 table_tag
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
35
  is_nullable: 0
37
  is_nullable: 0
36
  size: 255
38
  size: 255
37
39
40
usually table name, or arbitrary unique tag
41
38
=head2 record_id
42
=head2 record_id
39
43
40
  data_type: 'integer'
44
  data_type: 'integer'
41
  is_nullable: 0
45
  is_nullable: 0
42
46
47
record id from the table this file is associated to
48
43
=head2 file_name
49
=head2 file_name
44
50
45
  data_type: 'varchar'
51
  data_type: 'varchar'
46
  is_nullable: 0
52
  is_nullable: 0
47
  size: 255
53
  size: 255
48
54
55
file name
56
49
=head2 file_type
57
=head2 file_type
50
58
51
  data_type: 'varchar'
59
  data_type: 'varchar'
52
  is_nullable: 0
60
  is_nullable: 0
53
  size: 255
61
  size: 255
54
62
63
MIME type of the file
64
55
=head2 file_description
65
=head2 file_description
56
66
57
  data_type: 'varchar'
67
  data_type: 'varchar'
58
  is_nullable: 1
68
  is_nullable: 1
59
  size: 255
69
  size: 255
60
70
71
description given to the file
72
61
=head2 file_content
73
=head2 file_content
62
74
63
  data_type: 'longblob'
75
  data_type: 'longblob'
64
  is_nullable: 0
76
  is_nullable: 0
65
77
78
file content
79
66
=head2 date_uploaded
80
=head2 date_uploaded
67
81
68
  data_type: 'timestamp'
82
  data_type: 'timestamp'
Lines 70-75 __PACKAGE__->table("misc_files"); Link Here
70
  default_value: current_timestamp
84
  default_value: current_timestamp
71
  is_nullable: 0
85
  is_nullable: 0
72
86
87
date and time the file was added
88
73
=cut
89
=cut
74
90
75
__PACKAGE__->add_columns(
91
__PACKAGE__->add_columns(
Lines 109-116 __PACKAGE__->add_columns( Link Here
109
__PACKAGE__->set_primary_key("file_id");
125
__PACKAGE__->set_primary_key("file_id");
110
126
111
127
112
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2014-05-25 21:17:02
128
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
113
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VWGyKXxK0dqymMsEGCjJxg
129
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1ew2RboOyOxRy2vR+nqFJA
114
130
115
131
116
# You can replace this text with custom code or comments, and it will be preserved on regeneration
132
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/NeedMergeAuthority.pm (-2 / +12 lines)
Lines 29-49 __PACKAGE__->table("need_merge_authorities"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
unique id
33
32
=head2 authid
34
=head2 authid
33
35
34
  data_type: 'bigint'
36
  data_type: 'bigint'
35
  is_nullable: 0
37
  is_nullable: 0
36
38
39
reference to original authority record
40
37
=head2 authid_new
41
=head2 authid_new
38
42
39
  data_type: 'bigint'
43
  data_type: 'bigint'
40
  is_nullable: 1
44
  is_nullable: 1
41
45
46
reference to optional new authority record
47
42
=head2 reportxml
48
=head2 reportxml
43
49
44
  data_type: 'mediumtext'
50
  data_type: 'mediumtext'
45
  is_nullable: 1
51
  is_nullable: 1
46
52
53
xml showing original reporting tag
54
47
=head2 timestamp
55
=head2 timestamp
48
56
49
  data_type: 'timestamp'
57
  data_type: 'timestamp'
Lines 51-56 __PACKAGE__->table("need_merge_authorities"); Link Here
51
  default_value: current_timestamp
59
  default_value: current_timestamp
52
  is_nullable: 0
60
  is_nullable: 0
53
61
62
date and time last modified
63
54
=head2 done
64
=head2 done
55
65
56
  data_type: 'tinyint'
66
  data_type: 'tinyint'
Lines 92-99 __PACKAGE__->add_columns( Link Here
92
__PACKAGE__->set_primary_key("id");
102
__PACKAGE__->set_primary_key("id");
93
103
94
104
95
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54
105
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
96
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7LzwIYvExKvNgr8/HDZlsg
106
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iJYZ7R+5yHKLG5U3xvI7vw
97
107
98
sub koha_object_class {
108
sub koha_object_class {
99
    'Koha::Authority::MergeRequest';
109
    'Koha::Authority::MergeRequest';
(-)a/Koha/Schema/Result/OauthAccessToken.pm (-2 / +8 lines)
Lines 29-45 __PACKAGE__->table("oauth_access_tokens"); Link Here
29
  is_nullable: 0
29
  is_nullable: 0
30
  size: 191
30
  size: 191
31
31
32
generarated access token
33
32
=head2 client_id
34
=head2 client_id
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
35
  is_nullable: 0
37
  is_nullable: 0
36
  size: 191
38
  size: 191
37
39
40
the client id the access token belongs to
41
38
=head2 expires
42
=head2 expires
39
43
40
  data_type: 'integer'
44
  data_type: 'integer'
41
  is_nullable: 0
45
  is_nullable: 0
42
46
47
expiration time in seconds
48
43
=cut
49
=cut
44
50
45
__PACKAGE__->add_columns(
51
__PACKAGE__->add_columns(
Lines 64-71 __PACKAGE__->add_columns( Link Here
64
__PACKAGE__->set_primary_key("access_token");
70
__PACKAGE__->set_primary_key("access_token");
65
71
66
72
67
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-05-09 12:50:58
73
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
68
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:M6tueO6jmJwgmwMrqO1L0Q
74
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qP6pU3XXXz5PFHJXHnRxLg
69
75
70
sub koha_object_class {
76
sub koha_object_class {
71
    'Koha::OAuthAccessToken';
77
    'Koha::OAuthAccessToken';
(-)a/Koha/Schema/Result/OldIssue.pm (-2 / +38 lines)
Lines 28-99 __PACKAGE__->table("old_issues"); Link Here
28
  data_type: 'integer'
28
  data_type: 'integer'
29
  is_nullable: 0
29
  is_nullable: 0
30
30
31
primary key for issues table
32
31
=head2 borrowernumber
33
=head2 borrowernumber
32
34
33
  data_type: 'integer'
35
  data_type: 'integer'
34
  is_foreign_key: 1
36
  is_foreign_key: 1
35
  is_nullable: 1
37
  is_nullable: 1
36
38
39
foreign key, linking this to the borrowers table for the patron this item was checked out to
40
37
=head2 issuer_id
41
=head2 issuer_id
38
42
39
  data_type: 'integer'
43
  data_type: 'integer'
40
  is_foreign_key: 1
44
  is_foreign_key: 1
41
  is_nullable: 1
45
  is_nullable: 1
42
46
47
foreign key, linking this to the borrowers table for the user who checked out this item
48
43
=head2 itemnumber
49
=head2 itemnumber
44
50
45
  data_type: 'integer'
51
  data_type: 'integer'
46
  is_foreign_key: 1
52
  is_foreign_key: 1
47
  is_nullable: 1
53
  is_nullable: 1
48
54
55
foreign key, linking this to the items table for the item that was checked out
56
49
=head2 date_due
57
=head2 date_due
50
58
51
  data_type: 'datetime'
59
  data_type: 'datetime'
52
  datetime_undef_if_invalid: 1
60
  datetime_undef_if_invalid: 1
53
  is_nullable: 1
61
  is_nullable: 1
54
62
63
date the item is due (yyyy-mm-dd)
64
55
=head2 branchcode
65
=head2 branchcode
56
66
57
  data_type: 'varchar'
67
  data_type: 'varchar'
58
  is_nullable: 1
68
  is_nullable: 1
59
  size: 10
69
  size: 10
60
70
71
foreign key, linking to the branches table for the location the item was checked out
72
61
=head2 returndate
73
=head2 returndate
62
74
63
  data_type: 'datetime'
75
  data_type: 'datetime'
64
  datetime_undef_if_invalid: 1
76
  datetime_undef_if_invalid: 1
65
  is_nullable: 1
77
  is_nullable: 1
66
78
79
date the item was returned
80
67
=head2 lastreneweddate
81
=head2 lastreneweddate
68
82
69
  data_type: 'datetime'
83
  data_type: 'datetime'
70
  datetime_undef_if_invalid: 1
84
  datetime_undef_if_invalid: 1
71
  is_nullable: 1
85
  is_nullable: 1
72
86
87
date the item was last renewed
88
73
=head2 renewals
89
=head2 renewals
74
90
75
  data_type: 'tinyint'
91
  data_type: 'tinyint'
76
  default_value: 0
92
  default_value: 0
77
  is_nullable: 0
93
  is_nullable: 0
78
94
95
lists the number of times the item was renewed
96
79
=head2 unseen_renewals
97
=head2 unseen_renewals
80
98
81
  data_type: 'tinyint'
99
  data_type: 'tinyint'
82
  default_value: 0
100
  default_value: 0
83
  is_nullable: 0
101
  is_nullable: 0
84
102
103
lists the number of consecutive times the item was renewed without being seen
104
85
=head2 auto_renew
105
=head2 auto_renew
86
106
87
  data_type: 'tinyint'
107
  data_type: 'tinyint'
88
  default_value: 0
108
  default_value: 0
89
  is_nullable: 1
109
  is_nullable: 1
90
110
111
automatic renewal
112
91
=head2 auto_renew_error
113
=head2 auto_renew_error
92
114
93
  data_type: 'varchar'
115
  data_type: 'varchar'
94
  is_nullable: 1
116
  is_nullable: 1
95
  size: 32
117
  size: 32
96
118
119
automatic renewal error
120
97
=head2 timestamp
121
=head2 timestamp
98
122
99
  data_type: 'timestamp'
123
  data_type: 'timestamp'
Lines 101-134 __PACKAGE__->table("old_issues"); Link Here
101
  default_value: current_timestamp
125
  default_value: current_timestamp
102
  is_nullable: 0
126
  is_nullable: 0
103
127
128
the date and time this record was last touched
129
104
=head2 issuedate
130
=head2 issuedate
105
131
106
  data_type: 'datetime'
132
  data_type: 'datetime'
107
  datetime_undef_if_invalid: 1
133
  datetime_undef_if_invalid: 1
108
  is_nullable: 1
134
  is_nullable: 1
109
135
136
date the item was checked out or issued
137
110
=head2 onsite_checkout
138
=head2 onsite_checkout
111
139
112
  data_type: 'integer'
140
  data_type: 'integer'
113
  default_value: 0
141
  default_value: 0
114
  is_nullable: 0
142
  is_nullable: 0
115
143
144
in house use flag
145
116
=head2 note
146
=head2 note
117
147
118
  data_type: 'longtext'
148
  data_type: 'longtext'
119
  is_nullable: 1
149
  is_nullable: 1
120
150
151
issue note text
152
121
=head2 notedate
153
=head2 notedate
122
154
123
  data_type: 'datetime'
155
  data_type: 'datetime'
124
  datetime_undef_if_invalid: 1
156
  datetime_undef_if_invalid: 1
125
  is_nullable: 1
157
  is_nullable: 1
126
158
159
datetime of issue note (yyyy-mm-dd hh:mm::ss)
160
127
=head2 noteseen
161
=head2 noteseen
128
162
129
  data_type: 'integer'
163
  data_type: 'integer'
130
  is_nullable: 1
164
  is_nullable: 1
131
165
166
describes whether checkout note has been seen 1, not been seen 0 or doesn't exist null
167
132
=cut
168
=cut
133
169
134
__PACKAGE__->add_columns(
170
__PACKAGE__->add_columns(
Lines 270-277 __PACKAGE__->belongs_to( Link Here
270
);
306
);
271
307
272
308
273
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-11-11 14:23:25
309
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
274
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TvYB0Fiet6DBvDkRf/BRAg
310
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:B5UJmyy6RttUfrn6Yfl+7w
275
311
276
__PACKAGE__->add_columns(
312
__PACKAGE__->add_columns(
277
    '+auto_renew'      => { is_boolean => 1 },
313
    '+auto_renew'      => { is_boolean => 1 },
(-)a/Koha/Schema/Result/OldReserve.pm (-2 / +48 lines)
Lines 28-103 __PACKAGE__->table("old_reserves"); Link Here
28
  data_type: 'integer'
28
  data_type: 'integer'
29
  is_nullable: 0
29
  is_nullable: 0
30
30
31
primary key
32
31
=head2 borrowernumber
33
=head2 borrowernumber
32
34
33
  data_type: 'integer'
35
  data_type: 'integer'
34
  is_foreign_key: 1
36
  is_foreign_key: 1
35
  is_nullable: 1
37
  is_nullable: 1
36
38
39
foreign key from the borrowers table defining which patron this hold is for
40
37
=head2 reservedate
41
=head2 reservedate
38
42
39
  data_type: 'date'
43
  data_type: 'date'
40
  datetime_undef_if_invalid: 1
44
  datetime_undef_if_invalid: 1
41
  is_nullable: 1
45
  is_nullable: 1
42
46
47
the date the hold was places
48
43
=head2 biblionumber
49
=head2 biblionumber
44
50
45
  data_type: 'integer'
51
  data_type: 'integer'
46
  is_foreign_key: 1
52
  is_foreign_key: 1
47
  is_nullable: 1
53
  is_nullable: 1
48
54
55
foreign key from the biblio table defining which bib record this hold is on
56
49
=head2 branchcode
57
=head2 branchcode
50
58
51
  data_type: 'varchar'
59
  data_type: 'varchar'
52
  is_nullable: 1
60
  is_nullable: 1
53
  size: 10
61
  size: 10
54
62
63
foreign key from the branches table defining which branch the patron wishes to pick this hold up at
64
55
=head2 desk_id
65
=head2 desk_id
56
66
57
  data_type: 'integer'
67
  data_type: 'integer'
58
  is_nullable: 1
68
  is_nullable: 1
59
69
70
foreign key from the desks table defining which desk the patron should pick this hold up at
71
60
=head2 notificationdate
72
=head2 notificationdate
61
73
62
  data_type: 'date'
74
  data_type: 'date'
63
  datetime_undef_if_invalid: 1
75
  datetime_undef_if_invalid: 1
64
  is_nullable: 1
76
  is_nullable: 1
65
77
78
currently unused
79
66
=head2 reminderdate
80
=head2 reminderdate
67
81
68
  data_type: 'date'
82
  data_type: 'date'
69
  datetime_undef_if_invalid: 1
83
  datetime_undef_if_invalid: 1
70
  is_nullable: 1
84
  is_nullable: 1
71
85
86
currently unused
87
72
=head2 cancellationdate
88
=head2 cancellationdate
73
89
74
  data_type: 'date'
90
  data_type: 'date'
75
  datetime_undef_if_invalid: 1
91
  datetime_undef_if_invalid: 1
76
  is_nullable: 1
92
  is_nullable: 1
77
93
94
the date this hold was cancelled
95
78
=head2 cancellation_reason
96
=head2 cancellation_reason
79
97
80
  data_type: 'varchar'
98
  data_type: 'varchar'
81
  is_nullable: 1
99
  is_nullable: 1
82
  size: 80
100
  size: 80
83
101
102
optional authorised value CANCELLATION_REASON
103
84
=head2 reservenotes
104
=head2 reservenotes
85
105
86
  data_type: 'longtext'
106
  data_type: 'longtext'
87
  is_nullable: 1
107
  is_nullable: 1
88
108
109
notes related to this hold
110
89
=head2 priority
111
=head2 priority
90
112
91
  data_type: 'smallint'
113
  data_type: 'smallint'
92
  default_value: 1
114
  default_value: 1
93
  is_nullable: 0
115
  is_nullable: 0
94
116
117
where in the queue the patron sits
118
95
=head2 found
119
=head2 found
96
120
97
  data_type: 'varchar'
121
  data_type: 'varchar'
98
  is_nullable: 1
122
  is_nullable: 1
99
  size: 1
123
  size: 1
100
124
125
a one letter code defining what the status is of the hold is after it has been confirmed
126
101
=head2 timestamp
127
=head2 timestamp
102
128
103
  data_type: 'timestamp'
129
  data_type: 'timestamp'
Lines 105-128 __PACKAGE__->table("old_reserves"); Link Here
105
  default_value: current_timestamp
131
  default_value: current_timestamp
106
  is_nullable: 0
132
  is_nullable: 0
107
133
134
the date and time this hold was last updated
135
108
=head2 itemnumber
136
=head2 itemnumber
109
137
110
  data_type: 'integer'
138
  data_type: 'integer'
111
  is_foreign_key: 1
139
  is_foreign_key: 1
112
  is_nullable: 1
140
  is_nullable: 1
113
141
142
foreign key from the items table defining the specific item the patron has placed on hold or the item this hold was filled with
143
114
=head2 waitingdate
144
=head2 waitingdate
115
145
116
  data_type: 'date'
146
  data_type: 'date'
117
  datetime_undef_if_invalid: 1
147
  datetime_undef_if_invalid: 1
118
  is_nullable: 1
148
  is_nullable: 1
119
149
150
the date the item was marked as waiting for the patron at the library
151
120
=head2 expirationdate
152
=head2 expirationdate
121
153
122
  data_type: 'date'
154
  data_type: 'date'
123
  datetime_undef_if_invalid: 1
155
  datetime_undef_if_invalid: 1
124
  is_nullable: 1
156
  is_nullable: 1
125
157
158
the date the hold expires (usually the date entered by the patron to say they don't need the hold after a certain date)
159
126
=head2 lowestPriority
160
=head2 lowestPriority
127
161
128
  accessor: 'lowest_priority'
162
  accessor: 'lowest_priority'
Lines 130-147 __PACKAGE__->table("old_reserves"); Link Here
130
  default_value: 0
164
  default_value: 0
131
  is_nullable: 0
165
  is_nullable: 0
132
166
167
has this hold been pinned to the lowest priority in the holds queue (1 for yes, 0 for no)
168
133
=head2 suspend
169
=head2 suspend
134
170
135
  data_type: 'tinyint'
171
  data_type: 'tinyint'
136
  default_value: 0
172
  default_value: 0
137
  is_nullable: 0
173
  is_nullable: 0
138
174
175
in this hold suspended (1 for yes, 0 for no)
176
139
=head2 suspend_until
177
=head2 suspend_until
140
178
141
  data_type: 'datetime'
179
  data_type: 'datetime'
142
  datetime_undef_if_invalid: 1
180
  datetime_undef_if_invalid: 1
143
  is_nullable: 1
181
  is_nullable: 1
144
182
183
the date this hold is suspended until (NULL for infinitely)
184
145
=head2 itemtype
185
=head2 itemtype
146
186
147
  data_type: 'varchar'
187
  data_type: 'varchar'
Lines 149-166 __PACKAGE__->table("old_reserves"); Link Here
149
  is_nullable: 1
189
  is_nullable: 1
150
  size: 10
190
  size: 10
151
191
192
If record level hold, the optional itemtype of the item the patron is requesting
193
152
=head2 item_level_hold
194
=head2 item_level_hold
153
195
154
  data_type: 'tinyint'
196
  data_type: 'tinyint'
155
  default_value: 0
197
  default_value: 0
156
  is_nullable: 0
198
  is_nullable: 0
157
199
200
Is the hpld placed at item level
201
158
=head2 non_priority
202
=head2 non_priority
159
203
160
  data_type: 'tinyint'
204
  data_type: 'tinyint'
161
  default_value: 0
205
  default_value: 0
162
  is_nullable: 0
206
  is_nullable: 0
163
207
208
Is this a non priority hold
209
164
=cut
210
=cut
165
211
166
__PACKAGE__->add_columns(
212
__PACKAGE__->add_columns(
Lines 321-328 __PACKAGE__->belongs_to( Link Here
321
);
367
);
322
368
323
369
324
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-11-06 11:00:40
370
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
325
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7weIpuc0RpZ/MxFn94E8dg
371
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UH6coasIQnguSLtDdr6HEg
326
372
327
__PACKAGE__->belongs_to(
373
__PACKAGE__->belongs_to(
328
  "item",
374
  "item",
(-)a/Koha/Schema/Result/OpacNews.pm (-2 / +22 lines)
Lines 30-35 __PACKAGE__->table("opac_news"); Link Here
30
  is_auto_increment: 1
30
  is_auto_increment: 1
31
  is_nullable: 0
31
  is_nullable: 0
32
32
33
unique identifier for the news article
34
33
=head2 branchcode
35
=head2 branchcode
34
36
35
  data_type: 'varchar'
37
  data_type: 'varchar'
Lines 37-42 __PACKAGE__->table("opac_news"); Link Here
37
  is_nullable: 1
39
  is_nullable: 1
38
  size: 10
40
  size: 10
39
41
42
branch code users to create branch specific news, NULL is every branch.
43
40
=head2 title
44
=head2 title
41
45
42
  data_type: 'varchar'
46
  data_type: 'varchar'
Lines 44-54 __PACKAGE__->table("opac_news"); Link Here
44
  is_nullable: 0
48
  is_nullable: 0
45
  size: 250
49
  size: 250
46
50
51
title of the news article
52
47
=head2 content
53
=head2 content
48
54
49
  data_type: 'mediumtext'
55
  data_type: 'mediumtext'
50
  is_nullable: 0
56
  is_nullable: 0
51
57
58
the body of your news article
59
52
=head2 lang
60
=head2 lang
53
61
54
  data_type: 'varchar'
62
  data_type: 'varchar'
Lines 56-67 __PACKAGE__->table("opac_news"); Link Here
56
  is_nullable: 0
64
  is_nullable: 0
57
  size: 50
65
  size: 50
58
66
67
location for the article (koha is the staff interface, slip is the circulation receipt and language codes are for the opac)
68
59
=head2 published_on
69
=head2 published_on
60
70
61
  data_type: 'date'
71
  data_type: 'date'
62
  datetime_undef_if_invalid: 1
72
  datetime_undef_if_invalid: 1
63
  is_nullable: 1
73
  is_nullable: 1
64
74
75
publication date
76
65
=head2 updated_on
77
=head2 updated_on
66
78
67
  data_type: 'timestamp'
79
  data_type: 'timestamp'
Lines 69-91 __PACKAGE__->table("opac_news"); Link Here
69
  default_value: current_timestamp
81
  default_value: current_timestamp
70
  is_nullable: 0
82
  is_nullable: 0
71
83
84
last modification
85
72
=head2 expirationdate
86
=head2 expirationdate
73
87
74
  data_type: 'date'
88
  data_type: 'date'
75
  datetime_undef_if_invalid: 1
89
  datetime_undef_if_invalid: 1
76
  is_nullable: 1
90
  is_nullable: 1
77
91
92
date the article is set to expire or no longer be visible
93
78
=head2 number
94
=head2 number
79
95
80
  data_type: 'integer'
96
  data_type: 'integer'
81
  is_nullable: 1
97
  is_nullable: 1
82
98
99
the order in which this article appears in that specific location
100
83
=head2 borrowernumber
101
=head2 borrowernumber
84
102
85
  data_type: 'integer'
103
  data_type: 'integer'
86
  is_foreign_key: 1
104
  is_foreign_key: 1
87
  is_nullable: 1
105
  is_nullable: 1
88
106
107
The user who created the news article
108
89
=cut
109
=cut
90
110
91
__PACKAGE__->add_columns(
111
__PACKAGE__->add_columns(
Lines 176-183 __PACKAGE__->belongs_to( Link Here
176
);
196
);
177
197
178
198
179
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-09-02 12:50:13
199
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
180
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IKAwgZM6jqOTbksraZb21w
200
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:d05UDcRR2JQeyM7yLPxRWw
181
201
182
sub koha_object_class {
202
sub koha_object_class {
183
    'Koha::NewsItem';
203
    'Koha::NewsItem';
(-)a/Koha/Schema/Result/Overduerule.pm (-2 / +26 lines)
Lines 29-34 __PACKAGE__->table("overduerules"); 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 for the overduerules
33
32
=head2 branchcode
34
=head2 branchcode
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
Lines 36-41 __PACKAGE__->table("overduerules"); Link Here
36
  is_nullable: 0
38
  is_nullable: 0
37
  size: 10
39
  size: 10
38
40
41
foreign key from the branches table to define which branch this rule is for (if blank it's all libraries)
42
39
=head2 categorycode
43
=head2 categorycode
40
44
41
  data_type: 'varchar'
45
  data_type: 'varchar'
Lines 43-59 __PACKAGE__->table("overduerules"); Link Here
43
  is_nullable: 0
47
  is_nullable: 0
44
  size: 10
48
  size: 10
45
49
50
foreign key from the categories table to define which patron category this rule is for
51
46
=head2 delay1
52
=head2 delay1
47
53
48
  data_type: 'integer'
54
  data_type: 'integer'
49
  is_nullable: 1
55
  is_nullable: 1
50
56
57
number of days after the item is overdue that the first notice is sent
58
51
=head2 letter1
59
=head2 letter1
52
60
53
  data_type: 'varchar'
61
  data_type: 'varchar'
54
  is_nullable: 1
62
  is_nullable: 1
55
  size: 20
63
  size: 20
56
64
65
foreign key from the letter table to define which notice should be sent as the first notice
66
57
=head2 debarred1
67
=head2 debarred1
58
68
59
  data_type: 'varchar'
69
  data_type: 'varchar'
Lines 61-71 __PACKAGE__->table("overduerules"); Link Here
61
  is_nullable: 1
71
  is_nullable: 1
62
  size: 1
72
  size: 1
63
73
74
is the patron restricted when the first notice is sent (1 for yes, 0 for no)
75
64
=head2 delay2
76
=head2 delay2
65
77
66
  data_type: 'integer'
78
  data_type: 'integer'
67
  is_nullable: 1
79
  is_nullable: 1
68
80
81
number of days after the item is overdue that the second notice is sent
82
69
=head2 debarred2
83
=head2 debarred2
70
84
71
  data_type: 'varchar'
85
  data_type: 'varchar'
Lines 73-101 __PACKAGE__->table("overduerules"); Link Here
73
  is_nullable: 1
87
  is_nullable: 1
74
  size: 1
88
  size: 1
75
89
90
is the patron restricted when the second notice is sent (1 for yes, 0 for no)
91
76
=head2 letter2
92
=head2 letter2
77
93
78
  data_type: 'varchar'
94
  data_type: 'varchar'
79
  is_nullable: 1
95
  is_nullable: 1
80
  size: 20
96
  size: 20
81
97
98
foreign key from the letter table to define which notice should be sent as the second notice
99
82
=head2 delay3
100
=head2 delay3
83
101
84
  data_type: 'integer'
102
  data_type: 'integer'
85
  is_nullable: 1
103
  is_nullable: 1
86
104
105
number of days after the item is overdue that the third notice is sent
106
87
=head2 letter3
107
=head2 letter3
88
108
89
  data_type: 'varchar'
109
  data_type: 'varchar'
90
  is_nullable: 1
110
  is_nullable: 1
91
  size: 20
111
  size: 20
92
112
113
foreign key from the letter table to define which notice should be sent as the third notice
114
93
=head2 debarred3
115
=head2 debarred3
94
116
95
  data_type: 'integer'
117
  data_type: 'integer'
96
  default_value: 0
118
  default_value: 0
97
  is_nullable: 1
119
  is_nullable: 1
98
120
121
is the patron restricted when the third notice is sent (1 for yes, 0 for no)
122
99
=cut
123
=cut
100
124
101
__PACKAGE__->add_columns(
125
__PACKAGE__->add_columns(
Lines 171-178 __PACKAGE__->has_many( Link Here
171
);
195
);
172
196
173
197
174
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-01-06 12:00:28
198
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
175
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Opfa1YZ3IeQRRbyrbKAkNQ
199
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Xf0rcjwRs7RNXYRGwmXVpg
176
200
177
201
178
# You can replace this text with custom content, and it will be preserved on regeneration
202
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/PatronConsent.pm (-2 / +4 lines)
Lines 41-46 __PACKAGE__->table("patron_consent"); Link Here
41
  extra: {list => ["GDPR_PROCESSING"]}
41
  extra: {list => ["GDPR_PROCESSING"]}
42
  is_nullable: 1
42
  is_nullable: 1
43
43
44
allows for future extension
45
44
=head2 given_on
46
=head2 given_on
45
47
46
  data_type: 'datetime'
48
  data_type: 'datetime'
Lines 110-117 __PACKAGE__->belongs_to( Link Here
110
);
112
);
111
113
112
114
113
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-09-20 13:00:20
115
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
114
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:as3b13eS31zkIPr9uxP7+A
116
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ru+EK+OWW8yuZKiKnUq8RQ
115
117
116
sub koha_object_class {
118
sub koha_object_class {
117
    'Koha::Patron::Consent';
119
    'Koha::Patron::Consent';
(-)a/Koha/Schema/Result/PatronList.pm (-2 / +8 lines)
Lines 29-46 __PACKAGE__->table("patron_lists"); 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
33
32
=head2 name
34
=head2 name
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
35
  is_nullable: 0
37
  is_nullable: 0
36
  size: 255
38
  size: 255
37
39
40
the list's name
41
38
=head2 owner
42
=head2 owner
39
43
40
  data_type: 'integer'
44
  data_type: 'integer'
41
  is_foreign_key: 1
45
  is_foreign_key: 1
42
  is_nullable: 0
46
  is_nullable: 0
43
47
48
borrowernumber of the list creator
49
44
=head2 shared
50
=head2 shared
45
51
46
  data_type: 'tinyint'
52
  data_type: 'tinyint'
Lines 105-112 __PACKAGE__->has_many( Link Here
105
);
111
);
106
112
107
113
108
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-07-18 16:54:33
114
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
109
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ulv0BHLlcWdeLgD6qPxmUQ
115
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZAHlIRS467WC+83XxPZTDQ
110
116
111
117
112
# You can replace this text with custom content, and it will be preserved on regeneration
118
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/PatronListPatron.pm (-2 / +8 lines)
Lines 29-46 __PACKAGE__->table("patron_list_patrons"); 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
33
32
=head2 patron_list_id
34
=head2 patron_list_id
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
the list this entry is part of
41
38
=head2 borrowernumber
42
=head2 borrowernumber
39
43
40
  data_type: 'integer'
44
  data_type: 'integer'
41
  is_foreign_key: 1
45
  is_foreign_key: 1
42
  is_nullable: 0
46
  is_nullable: 0
43
47
48
the borrower that is part of this list
49
44
=cut
50
=cut
45
51
46
__PACKAGE__->add_columns(
52
__PACKAGE__->add_columns(
Lines 97-104 __PACKAGE__->belongs_to( Link Here
97
);
103
);
98
104
99
105
100
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 21:34:14
106
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
101
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0gmBJbxnHkobBAazvKnY7g
107
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dyC7iyqeTGsX0CC6QfOjnw
102
108
103
109
104
# You can replace this text with custom content, and it will be preserved on regeneration
110
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Patronimage.pm (-2 / +8 lines)
Lines 29-45 __PACKAGE__->table("patronimage"); Link Here
29
  is_foreign_key: 1
29
  is_foreign_key: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
the borrowernumber of the patron this image is attached to (borrowers.borrowernumber)
33
32
=head2 mimetype
34
=head2 mimetype
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
35
  is_nullable: 0
37
  is_nullable: 0
36
  size: 15
38
  size: 15
37
39
40
the format of the image (png, jpg, etc)
41
38
=head2 imagefile
42
=head2 imagefile
39
43
40
  data_type: 'mediumblob'
44
  data_type: 'mediumblob'
41
  is_nullable: 0
45
  is_nullable: 0
42
46
47
the image
48
43
=cut
49
=cut
44
50
45
__PACKAGE__->add_columns(
51
__PACKAGE__->add_columns(
Lines 81-88 __PACKAGE__->belongs_to( Link Here
81
);
87
);
82
88
83
89
84
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
90
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
85
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uuRGyWlemwOH1PCkvhqxdQ
91
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2QK5jUqVIi7JAyucjFkf2g
86
92
87
sub koha_object_class {
93
sub koha_object_class {
88
    'Koha::Patron::Image';
94
    'Koha::Patron::Image';
(-)a/Koha/Schema/Result/ProblemReport.pm (-2 / +22 lines)
Lines 29-34 __PACKAGE__->table("problem_reports"); 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 by Koha
33
32
=head2 title
34
=head2 title
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
Lines 36-41 __PACKAGE__->table("problem_reports"); Link Here
36
  is_nullable: 0
38
  is_nullable: 0
37
  size: 40
39
  size: 40
38
40
41
report subject line
42
39
=head2 content
43
=head2 content
40
44
41
  data_type: 'varchar'
45
  data_type: 'varchar'
Lines 43-48 __PACKAGE__->table("problem_reports"); Link Here
43
  is_nullable: 0
47
  is_nullable: 0
44
  size: 255
48
  size: 255
45
49
50
report message content
51
46
=head2 borrowernumber
52
=head2 borrowernumber
47
53
48
  data_type: 'integer'
54
  data_type: 'integer'
Lines 50-55 __PACKAGE__->table("problem_reports"); Link Here
50
  is_foreign_key: 1
56
  is_foreign_key: 1
51
  is_nullable: 0
57
  is_nullable: 0
52
58
59
the user who created the problem report
60
53
=head2 branchcode
61
=head2 branchcode
54
62
55
  data_type: 'varchar'
63
  data_type: 'varchar'
Lines 58-74 __PACKAGE__->table("problem_reports"); Link Here
58
  is_nullable: 0
66
  is_nullable: 0
59
  size: 10
67
  size: 10
60
68
69
borrower's branch
70
61
=head2 username
71
=head2 username
62
72
63
  data_type: 'varchar'
73
  data_type: 'varchar'
64
  is_nullable: 1
74
  is_nullable: 1
65
  size: 75
75
  size: 75
66
76
77
OPAC username
78
67
=head2 problempage
79
=head2 problempage
68
80
69
  data_type: 'text'
81
  data_type: 'text'
70
  is_nullable: 1
82
  is_nullable: 1
71
83
84
page the user triggered the problem report form from
85
72
=head2 recipient
86
=head2 recipient
73
87
74
  data_type: 'enum'
88
  data_type: 'enum'
Lines 76-81 __PACKAGE__->table("problem_reports"); Link Here
76
  extra: {list => ["admin","library"]}
90
  extra: {list => ["admin","library"]}
77
  is_nullable: 0
91
  is_nullable: 0
78
92
93
the 'to-address' of the problem report
94
79
=head2 created_on
95
=head2 created_on
80
96
81
  data_type: 'timestamp'
97
  data_type: 'timestamp'
Lines 83-88 __PACKAGE__->table("problem_reports"); Link Here
83
  default_value: current_timestamp
99
  default_value: current_timestamp
84
  is_nullable: 0
100
  is_nullable: 0
85
101
102
timestamp of report submission
103
86
=head2 status
104
=head2 status
87
105
88
  data_type: 'varchar'
106
  data_type: 'varchar'
Lines 90-95 __PACKAGE__->table("problem_reports"); Link Here
90
  is_nullable: 0
108
  is_nullable: 0
91
  size: 6
109
  size: 6
92
110
111
status of the report. New, Viewed, Closed
112
93
=cut
113
=cut
94
114
95
__PACKAGE__->add_columns(
115
__PACKAGE__->add_columns(
Lines 181-188 __PACKAGE__->belongs_to( Link Here
181
);
201
);
182
202
183
203
184
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-04-03 12:13:26
204
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
185
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ho9ENAxH51/ZlZO9KD4KOQ
205
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TMIbQ+WlM2C8Hq988zPa5g
186
206
187
207
188
# You can replace this text with custom code or comments, and it will be preserved on regeneration
208
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/PseudonymizedBorrowerAttribute.pm (-2 / +8 lines)
Lines 29-34 __PACKAGE__->table("pseudonymized_borrower_attributes"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
Row id field
33
32
=head2 transaction_id
34
=head2 transaction_id
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
Lines 42-53 __PACKAGE__->table("pseudonymized_borrower_attributes"); Link Here
42
  is_nullable: 0
44
  is_nullable: 0
43
  size: 10
45
  size: 10
44
46
47
foreign key from the borrower_attribute_types table, defines which custom field this value was entered for
48
45
=head2 attribute
49
=head2 attribute
46
50
47
  data_type: 'varchar'
51
  data_type: 'varchar'
48
  is_nullable: 1
52
  is_nullable: 1
49
  size: 255
53
  size: 255
50
54
55
custom patron field value
56
51
=cut
57
=cut
52
58
53
__PACKAGE__->add_columns(
59
__PACKAGE__->add_columns(
Lines 106-113 __PACKAGE__->belongs_to( Link Here
106
);
112
);
107
113
108
114
109
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-01-11 17:12:17
115
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
110
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:q6CTb8kq83p1bEM+ilfAww
116
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Bw3EfLDrcITA2jekO9T/5w
111
117
112
118
113
# You can replace this text with custom code or comments, and it will be preserved on regeneration
119
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Quote.pm (-2 / +10 lines)
Lines 29-50 __PACKAGE__->table("quotes"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
unique id for the quote
33
32
=head2 source
34
=head2 source
33
35
34
  data_type: 'mediumtext'
36
  data_type: 'mediumtext'
35
  is_nullable: 1
37
  is_nullable: 1
36
38
39
source/credit for the quote
40
37
=head2 text
41
=head2 text
38
42
39
  data_type: 'longtext'
43
  data_type: 'longtext'
40
  is_nullable: 0
44
  is_nullable: 0
41
45
46
text of the quote
47
42
=head2 timestamp
48
=head2 timestamp
43
49
44
  data_type: 'datetime'
50
  data_type: 'datetime'
45
  datetime_undef_if_invalid: 1
51
  datetime_undef_if_invalid: 1
46
  is_nullable: 1
52
  is_nullable: 1
47
53
54
date and time that the quote last appeared in the opac
55
48
=cut
56
=cut
49
57
50
__PACKAGE__->add_columns(
58
__PACKAGE__->add_columns(
Lines 75-82 __PACKAGE__->add_columns( Link Here
75
__PACKAGE__->set_primary_key("id");
83
__PACKAGE__->set_primary_key("id");
76
84
77
85
78
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-19 11:09:24
86
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
79
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CdcbCjhjmsLLDQ1AAOja7Q
87
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pwVJXk++6BSpyLpW/xgG0g
80
88
81
89
82
# You can replace this text with custom content, and it will be preserved on regeneration
90
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Rating.pm (-2 / +8 lines)
Lines 29-45 __PACKAGE__->table("ratings"); Link Here
29
  is_foreign_key: 1
29
  is_foreign_key: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
the borrowernumber of the patron who left this rating (borrowers.borrowernumber)
33
32
=head2 biblionumber
34
=head2 biblionumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
the biblio this rating is for (biblio.biblionumber)
41
38
=head2 rating_value
42
=head2 rating_value
39
43
40
  data_type: 'tinyint'
44
  data_type: 'tinyint'
41
  is_nullable: 0
45
  is_nullable: 0
42
46
47
the rating, from 1 to 5
48
43
=head2 timestamp
49
=head2 timestamp
44
50
45
  data_type: 'timestamp'
51
  data_type: 'timestamp'
Lines 112-119 __PACKAGE__->belongs_to( Link Here
112
);
118
);
113
119
114
120
115
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
121
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
116
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YT3jPQbA2TBuOuUXfEt7gQ
122
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8pZz4cHTRRbwCBNoOI1M6w
117
123
118
124
119
# You can replace this text with custom content, and it will be preserved on regeneration
125
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/RepeatableHoliday.pm (-2 / +16 lines)
Lines 29-34 __PACKAGE__->table("repeatable_holidays"); 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 by Koha
33
32
=head2 branchcode
34
=head2 branchcode
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
Lines 36-56 __PACKAGE__->table("repeatable_holidays"); Link Here
36
  is_nullable: 0
38
  is_nullable: 0
37
  size: 10
39
  size: 10
38
40
41
foreign key from the branches table, defines which branch this closing is for
42
39
=head2 weekday
43
=head2 weekday
40
44
41
  data_type: 'smallint'
45
  data_type: 'smallint'
42
  is_nullable: 1
46
  is_nullable: 1
43
47
48
day of the week (0=Sunday, 1=Monday, etc) this closing is repeated on
49
44
=head2 day
50
=head2 day
45
51
46
  data_type: 'smallint'
52
  data_type: 'smallint'
47
  is_nullable: 1
53
  is_nullable: 1
48
54
55
day of the month this closing is on
56
49
=head2 month
57
=head2 month
50
58
51
  data_type: 'smallint'
59
  data_type: 'smallint'
52
  is_nullable: 1
60
  is_nullable: 1
53
61
62
month this closing is in
63
54
=head2 title
64
=head2 title
55
65
56
  data_type: 'varchar'
66
  data_type: 'varchar'
Lines 58-68 __PACKAGE__->table("repeatable_holidays"); Link Here
58
  is_nullable: 0
68
  is_nullable: 0
59
  size: 50
69
  size: 50
60
70
71
title of this closing
72
61
=head2 description
73
=head2 description
62
74
63
  data_type: 'mediumtext'
75
  data_type: 'mediumtext'
64
  is_nullable: 0
76
  is_nullable: 0
65
77
78
description for this closing
79
66
=cut
80
=cut
67
81
68
__PACKAGE__->add_columns(
82
__PACKAGE__->add_columns(
Lines 112-119 __PACKAGE__->belongs_to( Link Here
112
);
126
);
113
127
114
128
115
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-01-20 13:57:27
129
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
116
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bBw2WEvzF5sX+AOteNsPPQ
130
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SJGTXe8M997nUa9YbCsvqA
117
131
118
132
119
# You can replace this text with custom content, and it will be preserved on regeneration
133
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/ReportsDictionary.pm (-2 / +16 lines)
Lines 29-68 __PACKAGE__->table("reports_dictionary"); 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 by Koha
33
32
=head2 name
34
=head2 name
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
35
  is_nullable: 1
37
  is_nullable: 1
36
  size: 255
38
  size: 255
37
39
40
name for this definition
41
38
=head2 description
42
=head2 description
39
43
40
  data_type: 'mediumtext'
44
  data_type: 'mediumtext'
41
  is_nullable: 1
45
  is_nullable: 1
42
46
47
description for this definition
48
43
=head2 date_created
49
=head2 date_created
44
50
45
  data_type: 'datetime'
51
  data_type: 'datetime'
46
  datetime_undef_if_invalid: 1
52
  datetime_undef_if_invalid: 1
47
  is_nullable: 1
53
  is_nullable: 1
48
54
55
date and time this definition was created
56
49
=head2 date_modified
57
=head2 date_modified
50
58
51
  data_type: 'datetime'
59
  data_type: 'datetime'
52
  datetime_undef_if_invalid: 1
60
  datetime_undef_if_invalid: 1
53
  is_nullable: 1
61
  is_nullable: 1
54
62
63
date and time this definition was last modified
64
55
=head2 saved_sql
65
=head2 saved_sql
56
66
57
  data_type: 'mediumtext'
67
  data_type: 'mediumtext'
58
  is_nullable: 1
68
  is_nullable: 1
59
69
70
SQL snippet for us in reports
71
60
=head2 report_area
72
=head2 report_area
61
73
62
  data_type: 'varchar'
74
  data_type: 'varchar'
63
  is_nullable: 1
75
  is_nullable: 1
64
  size: 6
76
  size: 6
65
77
78
Koha module this definition is for Circulation, Catalog, Patrons, Acquistions, Accounts)
79
66
=cut
80
=cut
67
81
68
__PACKAGE__->add_columns(
82
__PACKAGE__->add_columns(
Lines 103-110 __PACKAGE__->add_columns( Link Here
103
__PACKAGE__->set_primary_key("id");
117
__PACKAGE__->set_primary_key("id");
104
118
105
119
106
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54
120
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
107
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0akgYM7kqiLxz95xUCdrdQ
121
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:e/jY0HOiZ1WNTjL+B7Te4A
108
122
109
123
110
# You can replace this text with custom content, and it will be preserved on regeneration
124
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Reserve.pm (-2 / +42 lines)
Lines 29-34 __PACKAGE__->table("reserves"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
primary key
33
32
=head2 borrowernumber
34
=head2 borrowernumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
Lines 36-47 __PACKAGE__->table("reserves"); 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 the borrowers table defining which patron this hold is for
42
39
=head2 reservedate
43
=head2 reservedate
40
44
41
  data_type: 'date'
45
  data_type: 'date'
42
  datetime_undef_if_invalid: 1
46
  datetime_undef_if_invalid: 1
43
  is_nullable: 1
47
  is_nullable: 1
44
48
49
the date the hold was placed
50
45
=head2 biblionumber
51
=head2 biblionumber
46
52
47
  data_type: 'integer'
53
  data_type: 'integer'
Lines 49-54 __PACKAGE__->table("reserves"); Link Here
49
  is_foreign_key: 1
55
  is_foreign_key: 1
50
  is_nullable: 0
56
  is_nullable: 0
51
57
58
foreign key from the biblio table defining which bib record this hold is on
59
52
=head2 branchcode
60
=head2 branchcode
53
61
54
  data_type: 'varchar'
62
  data_type: 'varchar'
Lines 56-108 __PACKAGE__->table("reserves"); Link Here
56
  is_nullable: 1
64
  is_nullable: 1
57
  size: 10
65
  size: 10
58
66
67
foreign key from the branches table defining which branch the patron wishes to pick this hold up at
68
59
=head2 desk_id
69
=head2 desk_id
60
70
61
  data_type: 'integer'
71
  data_type: 'integer'
62
  is_foreign_key: 1
72
  is_foreign_key: 1
63
  is_nullable: 1
73
  is_nullable: 1
64
74
75
foreign key from the desks table defining which desk the patron should pick this hold up at
76
65
=head2 notificationdate
77
=head2 notificationdate
66
78
67
  data_type: 'date'
79
  data_type: 'date'
68
  datetime_undef_if_invalid: 1
80
  datetime_undef_if_invalid: 1
69
  is_nullable: 1
81
  is_nullable: 1
70
82
83
currently unused
84
71
=head2 reminderdate
85
=head2 reminderdate
72
86
73
  data_type: 'date'
87
  data_type: 'date'
74
  datetime_undef_if_invalid: 1
88
  datetime_undef_if_invalid: 1
75
  is_nullable: 1
89
  is_nullable: 1
76
90
91
currently unused
92
77
=head2 cancellationdate
93
=head2 cancellationdate
78
94
79
  data_type: 'date'
95
  data_type: 'date'
80
  datetime_undef_if_invalid: 1
96
  datetime_undef_if_invalid: 1
81
  is_nullable: 1
97
  is_nullable: 1
82
98
99
the date this hold was cancelled
100
83
=head2 cancellation_reason
101
=head2 cancellation_reason
84
102
85
  data_type: 'varchar'
103
  data_type: 'varchar'
86
  is_nullable: 1
104
  is_nullable: 1
87
  size: 80
105
  size: 80
88
106
107
optional authorised value CANCELLATION_REASON
108
89
=head2 reservenotes
109
=head2 reservenotes
90
110
91
  data_type: 'longtext'
111
  data_type: 'longtext'
92
  is_nullable: 1
112
  is_nullable: 1
93
113
114
notes related to this hold
115
94
=head2 priority
116
=head2 priority
95
117
96
  data_type: 'smallint'
118
  data_type: 'smallint'
97
  default_value: 1
119
  default_value: 1
98
  is_nullable: 0
120
  is_nullable: 0
99
121
122
where in the queue the patron sits
123
100
=head2 found
124
=head2 found
101
125
102
  data_type: 'varchar'
126
  data_type: 'varchar'
103
  is_nullable: 1
127
  is_nullable: 1
104
  size: 1
128
  size: 1
105
129
130
a one letter code defining what the status is of the hold is after it has been confirmed
131
106
=head2 timestamp
132
=head2 timestamp
107
133
108
  data_type: 'timestamp'
134
  data_type: 'timestamp'
Lines 110-133 __PACKAGE__->table("reserves"); Link Here
110
  default_value: current_timestamp
136
  default_value: current_timestamp
111
  is_nullable: 0
137
  is_nullable: 0
112
138
139
the date and time this hold was last updated
140
113
=head2 itemnumber
141
=head2 itemnumber
114
142
115
  data_type: 'integer'
143
  data_type: 'integer'
116
  is_foreign_key: 1
144
  is_foreign_key: 1
117
  is_nullable: 1
145
  is_nullable: 1
118
146
147
foreign key from the items table defining the specific item the patron has placed on hold or the item this hold was filled with
148
119
=head2 waitingdate
149
=head2 waitingdate
120
150
121
  data_type: 'date'
151
  data_type: 'date'
122
  datetime_undef_if_invalid: 1
152
  datetime_undef_if_invalid: 1
123
  is_nullable: 1
153
  is_nullable: 1
124
154
155
the date the item was marked as waiting for the patron at the library
156
125
=head2 expirationdate
157
=head2 expirationdate
126
158
127
  data_type: 'date'
159
  data_type: 'date'
128
  datetime_undef_if_invalid: 1
160
  datetime_undef_if_invalid: 1
129
  is_nullable: 1
161
  is_nullable: 1
130
162
163
the date the hold expires (usually the date entered by the patron to say they don't need the hold after a certain date)
164
131
=head2 lowestPriority
165
=head2 lowestPriority
132
166
133
  accessor: 'lowest_priority'
167
  accessor: 'lowest_priority'
Lines 154-171 __PACKAGE__->table("reserves"); Link Here
154
  is_nullable: 1
188
  is_nullable: 1
155
  size: 10
189
  size: 10
156
190
191
If record level hold, the optional itemtype of the item the patron is requesting
192
157
=head2 item_level_hold
193
=head2 item_level_hold
158
194
159
  data_type: 'tinyint'
195
  data_type: 'tinyint'
160
  default_value: 0
196
  default_value: 0
161
  is_nullable: 0
197
  is_nullable: 0
162
198
199
Is the hpld placed at item level
200
163
=head2 non_priority
201
=head2 non_priority
164
202
165
  data_type: 'tinyint'
203
  data_type: 'tinyint'
166
  default_value: 0
204
  default_value: 0
167
  is_nullable: 0
205
  is_nullable: 0
168
206
207
Is this a non priority hold
208
169
=cut
209
=cut
170
210
171
__PACKAGE__->add_columns(
211
__PACKAGE__->add_columns(
Lines 381-388 __PACKAGE__->belongs_to( Link Here
381
);
421
);
382
422
383
423
384
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-11-06 11:00:40
424
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
385
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ue2kNBP+lq8+9NthPiYrrw
425
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uxMjobQcBjW3Xw7iK14wHg
386
426
387
__PACKAGE__->belongs_to(
427
__PACKAGE__->belongs_to(
388
  "item",
428
  "item",
(-)a/Koha/Schema/Result/ReturnClaim.pm (-2 / +26 lines)
Lines 29-99 __PACKAGE__->table("return_claims"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
Unique ID of the return claim
33
32
=head2 itemnumber
34
=head2 itemnumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
ID of the item
41
38
=head2 issue_id
42
=head2 issue_id
39
43
40
  data_type: 'integer'
44
  data_type: 'integer'
41
  is_foreign_key: 1
45
  is_foreign_key: 1
42
  is_nullable: 1
46
  is_nullable: 1
43
47
48
ID of the checkout that triggered the claim
49
44
=head2 borrowernumber
50
=head2 borrowernumber
45
51
46
  data_type: 'integer'
52
  data_type: 'integer'
47
  is_foreign_key: 1
53
  is_foreign_key: 1
48
  is_nullable: 0
54
  is_nullable: 0
49
55
56
ID of the patron
57
50
=head2 notes
58
=head2 notes
51
59
52
  data_type: 'mediumtext'
60
  data_type: 'mediumtext'
53
  is_nullable: 1
61
  is_nullable: 1
54
62
63
Notes about the claim
64
55
=head2 created_on
65
=head2 created_on
56
66
57
  data_type: 'timestamp'
67
  data_type: 'timestamp'
58
  datetime_undef_if_invalid: 1
68
  datetime_undef_if_invalid: 1
59
  is_nullable: 1
69
  is_nullable: 1
60
70
71
Time and date the claim was created
72
61
=head2 created_by
73
=head2 created_by
62
74
63
  data_type: 'integer'
75
  data_type: 'integer'
64
  is_foreign_key: 1
76
  is_foreign_key: 1
65
  is_nullable: 1
77
  is_nullable: 1
66
78
79
ID of the staff member that registered the claim
80
67
=head2 updated_on
81
=head2 updated_on
68
82
69
  data_type: 'timestamp'
83
  data_type: 'timestamp'
70
  datetime_undef_if_invalid: 1
84
  datetime_undef_if_invalid: 1
71
  is_nullable: 1
85
  is_nullable: 1
72
86
87
Time and date of the latest change on the claim (notes)
88
73
=head2 updated_by
89
=head2 updated_by
74
90
75
  data_type: 'integer'
91
  data_type: 'integer'
76
  is_foreign_key: 1
92
  is_foreign_key: 1
77
  is_nullable: 1
93
  is_nullable: 1
78
94
95
ID of the staff member that updated the claim
96
79
=head2 resolution
97
=head2 resolution
80
98
81
  data_type: 'varchar'
99
  data_type: 'varchar'
82
  is_nullable: 1
100
  is_nullable: 1
83
  size: 80
101
  size: 80
84
102
103
Resolution code (RETURN_CLAIM_RESOLUTION AVs)
104
85
=head2 resolved_on
105
=head2 resolved_on
86
106
87
  data_type: 'timestamp'
107
  data_type: 'timestamp'
88
  datetime_undef_if_invalid: 1
108
  datetime_undef_if_invalid: 1
89
  is_nullable: 1
109
  is_nullable: 1
90
110
111
Time and date the claim was resolved
112
91
=head2 resolved_by
113
=head2 resolved_by
92
114
93
  data_type: 'integer'
115
  data_type: 'integer'
94
  is_foreign_key: 1
116
  is_foreign_key: 1
95
  is_nullable: 1
117
  is_nullable: 1
96
118
119
ID of the staff member that resolved the claim
120
97
=cut
121
=cut
98
122
99
__PACKAGE__->add_columns(
123
__PACKAGE__->add_columns(
Lines 274-281 __PACKAGE__->belongs_to( Link Here
274
);
298
);
275
299
276
300
277
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-31 12:18:39
301
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
278
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:a1MJxAPCP8yuYvzkXp5q8w
302
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sgKOmqHean67iIbRFjtvRw
279
303
280
sub koha_objects_class {
304
sub koha_objects_class {
281
    'Koha::Checkouts::ReturnClaims';
305
    'Koha::Checkouts::ReturnClaims';
(-)a/Koha/Schema/Result/Review.pm (-2 / +14 lines)
Lines 29-63 __PACKAGE__->table("reviews"); 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 for this comment
33
32
=head2 borrowernumber
34
=head2 borrowernumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 1
38
  is_nullable: 1
37
39
40
foreign key from the borrowers table defining which patron left this comment
41
38
=head2 biblionumber
42
=head2 biblionumber
39
43
40
  data_type: 'integer'
44
  data_type: 'integer'
41
  is_foreign_key: 1
45
  is_foreign_key: 1
42
  is_nullable: 1
46
  is_nullable: 1
43
47
48
foreign key from the biblio table defining which bibliographic record this comment is for
49
44
=head2 review
50
=head2 review
45
51
46
  data_type: 'mediumtext'
52
  data_type: 'mediumtext'
47
  is_nullable: 1
53
  is_nullable: 1
48
54
55
the body of the comment
56
49
=head2 approved
57
=head2 approved
50
58
51
  data_type: 'tinyint'
59
  data_type: 'tinyint'
52
  default_value: 0
60
  default_value: 0
53
  is_nullable: 1
61
  is_nullable: 1
54
62
63
whether this comment has been approved by a librarian (1 for yes, 0 for no)
64
55
=head2 datereviewed
65
=head2 datereviewed
56
66
57
  data_type: 'datetime'
67
  data_type: 'datetime'
58
  datetime_undef_if_invalid: 1
68
  datetime_undef_if_invalid: 1
59
  is_nullable: 1
69
  is_nullable: 1
60
70
71
the date the comment was left
72
61
=cut
73
=cut
62
74
63
__PACKAGE__->add_columns(
75
__PACKAGE__->add_columns(
Lines 134-141 __PACKAGE__->belongs_to( Link Here
134
);
146
);
135
147
136
148
137
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54
149
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:31
138
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gEngecP849wzHprYW7H2tw
150
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dGBh60T7gmxyAlwRtteI5A
139
151
140
152
141
# You can replace this text with custom content, and it will be preserved on regeneration
153
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/SavedSql.pm (-2 / +18 lines)
Lines 29-56 __PACKAGE__->table("saved_sql"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
unique id and primary key assigned by Koha
33
32
=head2 borrowernumber
34
=head2 borrowernumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_nullable: 1
37
  is_nullable: 1
36
38
39
the staff member who created this report (borrowers.borrowernumber)
40
37
=head2 date_created
41
=head2 date_created
38
42
39
  data_type: 'datetime'
43
  data_type: 'datetime'
40
  datetime_undef_if_invalid: 1
44
  datetime_undef_if_invalid: 1
41
  is_nullable: 1
45
  is_nullable: 1
42
46
47
the date this report was created
48
43
=head2 last_modified
49
=head2 last_modified
44
50
45
  data_type: 'datetime'
51
  data_type: 'datetime'
46
  datetime_undef_if_invalid: 1
52
  datetime_undef_if_invalid: 1
47
  is_nullable: 1
53
  is_nullable: 1
48
54
55
the date this report was last edited
56
49
=head2 savedsql
57
=head2 savedsql
50
58
51
  data_type: 'mediumtext'
59
  data_type: 'mediumtext'
52
  is_nullable: 1
60
  is_nullable: 1
53
61
62
the SQL for this report
63
54
=head2 last_run
64
=head2 last_run
55
65
56
  data_type: 'datetime'
66
  data_type: 'datetime'
Lines 64-80 __PACKAGE__->table("saved_sql"); Link Here
64
  is_nullable: 0
74
  is_nullable: 0
65
  size: 255
75
  size: 255
66
76
77
the name of this report
78
67
=head2 type
79
=head2 type
68
80
69
  data_type: 'varchar'
81
  data_type: 'varchar'
70
  is_nullable: 1
82
  is_nullable: 1
71
  size: 255
83
  size: 255
72
84
85
always 1 for tabular
86
73
=head2 notes
87
=head2 notes
74
88
75
  data_type: 'mediumtext'
89
  data_type: 'mediumtext'
76
  is_nullable: 1
90
  is_nullable: 1
77
91
92
the notes or description given to this report
93
78
=head2 cache_expiry
94
=head2 cache_expiry
79
95
80
  data_type: 'integer'
96
  data_type: 'integer'
Lines 170-177 __PACKAGE__->add_columns( Link Here
170
__PACKAGE__->set_primary_key("id");
186
__PACKAGE__->set_primary_key("id");
171
187
172
188
173
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-01-23 12:56:39
189
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:32
174
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:f7wxGGnBk3z6mw2CkaeD9A
190
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5y8Rbrui2vN4CmNMMoB9Yg
175
191
176
__PACKAGE__->add_columns(
192
__PACKAGE__->add_columns(
177
    '+public' => { is_boolean => 1 }
193
    '+public' => { is_boolean => 1 }
(-)a/Koha/Schema/Result/SearchHistory.pm (-2 / +18 lines)
Lines 29-56 __PACKAGE__->table("search_history"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
search history id
33
32
=head2 userid
34
=head2 userid
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_nullable: 0
37
  is_nullable: 0
36
38
39
the patron who performed the search (borrowers.borrowernumber)
40
37
=head2 sessionid
41
=head2 sessionid
38
42
39
  data_type: 'varchar'
43
  data_type: 'varchar'
40
  is_nullable: 0
44
  is_nullable: 0
41
  size: 32
45
  size: 32
42
46
47
a system generated session id
48
43
=head2 query_desc
49
=head2 query_desc
44
50
45
  data_type: 'varchar'
51
  data_type: 'varchar'
46
  is_nullable: 0
52
  is_nullable: 0
47
  size: 255
53
  size: 255
48
54
55
the search that was performed
56
49
=head2 query_cgi
57
=head2 query_cgi
50
58
51
  data_type: 'mediumtext'
59
  data_type: 'mediumtext'
52
  is_nullable: 0
60
  is_nullable: 0
53
61
62
the string to append to the search url to rerun the search
63
54
=head2 type
64
=head2 type
55
65
56
  data_type: 'varchar'
66
  data_type: 'varchar'
Lines 58-68 __PACKAGE__->table("search_history"); Link Here
58
  is_nullable: 0
68
  is_nullable: 0
59
  size: 16
69
  size: 16
60
70
71
search type, must be 'biblio' or 'authority'
72
61
=head2 total
73
=head2 total
62
74
63
  data_type: 'integer'
75
  data_type: 'integer'
64
  is_nullable: 0
76
  is_nullable: 0
65
77
78
the total of results found
79
66
=head2 time
80
=head2 time
67
81
68
  data_type: 'timestamp'
82
  data_type: 'timestamp'
Lines 70-75 __PACKAGE__->table("search_history"); Link Here
70
  default_value: current_timestamp
84
  default_value: current_timestamp
71
  is_nullable: 0
85
  is_nullable: 0
72
86
87
the date and time the search was run
88
73
=cut
89
=cut
74
90
75
__PACKAGE__->add_columns(
91
__PACKAGE__->add_columns(
Lines 114-121 __PACKAGE__->add_columns( Link Here
114
__PACKAGE__->set_primary_key("id");
130
__PACKAGE__->set_primary_key("id");
115
131
116
132
117
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54
133
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:32
118
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:d+Qf8sL7wLldvw2qPLoBgQ
134
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:g+8YtQUhvGiVO/d7Za5KOQ
119
135
120
136
121
# You can replace this text with custom content, and it will be preserved on regeneration
137
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Serial.pm (-2 / +32 lines)
Lines 29-46 __PACKAGE__->table("serial"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
unique key for the issue
33
32
=head2 biblionumber
34
=head2 biblionumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
foreign key for the biblio.biblionumber that this issue is attached to
41
38
=head2 subscriptionid
42
=head2 subscriptionid
39
43
40
  data_type: 'integer'
44
  data_type: 'integer'
41
  is_foreign_key: 1
45
  is_foreign_key: 1
42
  is_nullable: 0
46
  is_nullable: 0
43
47
48
foreign key to the subscription.subscriptionid that this issue is part of
49
44
=head2 serialseq
50
=head2 serialseq
45
51
46
  data_type: 'varchar'
52
  data_type: 'varchar'
Lines 48-117 __PACKAGE__->table("serial"); Link Here
48
  is_nullable: 0
54
  is_nullable: 0
49
  size: 100
55
  size: 100
50
56
57
issue information (volume, number, etc)
58
51
=head2 serialseq_x
59
=head2 serialseq_x
52
60
53
  data_type: 'varchar'
61
  data_type: 'varchar'
54
  is_nullable: 1
62
  is_nullable: 1
55
  size: 100
63
  size: 100
56
64
65
first part of issue information
66
57
=head2 serialseq_y
67
=head2 serialseq_y
58
68
59
  data_type: 'varchar'
69
  data_type: 'varchar'
60
  is_nullable: 1
70
  is_nullable: 1
61
  size: 100
71
  size: 100
62
72
73
second part of issue information
74
63
=head2 serialseq_z
75
=head2 serialseq_z
64
76
65
  data_type: 'varchar'
77
  data_type: 'varchar'
66
  is_nullable: 1
78
  is_nullable: 1
67
  size: 100
79
  size: 100
68
80
81
third part of issue information
82
69
=head2 status
83
=head2 status
70
84
71
  data_type: 'tinyint'
85
  data_type: 'tinyint'
72
  default_value: 0
86
  default_value: 0
73
  is_nullable: 0
87
  is_nullable: 0
74
88
89
status code for this issue (see manual for full descriptions)
90
75
=head2 planneddate
91
=head2 planneddate
76
92
77
  data_type: 'date'
93
  data_type: 'date'
78
  datetime_undef_if_invalid: 1
94
  datetime_undef_if_invalid: 1
79
  is_nullable: 1
95
  is_nullable: 1
80
96
97
date expected
98
81
=head2 notes
99
=head2 notes
82
100
83
  data_type: 'mediumtext'
101
  data_type: 'mediumtext'
84
  is_nullable: 1
102
  is_nullable: 1
85
103
104
notes
105
86
=head2 publisheddate
106
=head2 publisheddate
87
107
88
  data_type: 'date'
108
  data_type: 'date'
89
  datetime_undef_if_invalid: 1
109
  datetime_undef_if_invalid: 1
90
  is_nullable: 1
110
  is_nullable: 1
91
111
112
date published
113
92
=head2 publisheddatetext
114
=head2 publisheddatetext
93
115
94
  data_type: 'varchar'
116
  data_type: 'varchar'
95
  is_nullable: 1
117
  is_nullable: 1
96
  size: 100
118
  size: 100
97
119
120
date published (descriptive)
121
98
=head2 claimdate
122
=head2 claimdate
99
123
100
  data_type: 'date'
124
  data_type: 'date'
101
  datetime_undef_if_invalid: 1
125
  datetime_undef_if_invalid: 1
102
  is_nullable: 1
126
  is_nullable: 1
103
127
128
date claimed
129
104
=head2 claims_count
130
=head2 claims_count
105
131
106
  data_type: 'integer'
132
  data_type: 'integer'
107
  default_value: 0
133
  default_value: 0
108
  is_nullable: 1
134
  is_nullable: 1
109
135
136
number of claims made related to this issue
137
110
=head2 routingnotes
138
=head2 routingnotes
111
139
112
  data_type: 'mediumtext'
140
  data_type: 'mediumtext'
113
  is_nullable: 1
141
  is_nullable: 1
114
142
143
notes from the routing list
144
115
=cut
145
=cut
116
146
117
__PACKAGE__->add_columns(
147
__PACKAGE__->add_columns(
Lines 207-214 __PACKAGE__->belongs_to( Link Here
207
);
237
);
208
238
209
239
210
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-04-17 09:15:51
240
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:32
211
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ktCCJzkgRUFpYu857WQONA
241
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:u6geU3+R9sLPWS2BNbjLpg
212
242
213
243
214
# You can replace this text with custom code or comments, and it will be preserved on regeneration
244
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/SpecialHoliday.pm (-2 / +18 lines)
Lines 29-34 __PACKAGE__->table("special_holidays"); 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 by Koha
33
32
=head2 branchcode
34
=head2 branchcode
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
Lines 36-65 __PACKAGE__->table("special_holidays"); Link Here
36
  is_nullable: 0
38
  is_nullable: 0
37
  size: 10
39
  size: 10
38
40
41
foreign key from the branches table, defines which branch this closing is for
42
39
=head2 day
43
=head2 day
40
44
41
  data_type: 'smallint'
45
  data_type: 'smallint'
42
  default_value: 0
46
  default_value: 0
43
  is_nullable: 0
47
  is_nullable: 0
44
48
49
day of the month this closing is on
50
45
=head2 month
51
=head2 month
46
52
47
  data_type: 'smallint'
53
  data_type: 'smallint'
48
  default_value: 0
54
  default_value: 0
49
  is_nullable: 0
55
  is_nullable: 0
50
56
57
month this closing is in
58
51
=head2 year
59
=head2 year
52
60
53
  data_type: 'smallint'
61
  data_type: 'smallint'
54
  default_value: 0
62
  default_value: 0
55
  is_nullable: 0
63
  is_nullable: 0
56
64
65
year this closing is in
66
57
=head2 isexception
67
=head2 isexception
58
68
59
  data_type: 'smallint'
69
  data_type: 'smallint'
60
  default_value: 1
70
  default_value: 1
61
  is_nullable: 0
71
  is_nullable: 0
62
72
73
is this a holiday exception to a repeatable holiday (1 for yes, 0 for no)
74
63
=head2 title
75
=head2 title
64
76
65
  data_type: 'varchar'
77
  data_type: 'varchar'
Lines 67-77 __PACKAGE__->table("special_holidays"); Link Here
67
  is_nullable: 0
79
  is_nullable: 0
68
  size: 50
80
  size: 50
69
81
82
title for this closing
83
70
=head2 description
84
=head2 description
71
85
72
  data_type: 'mediumtext'
86
  data_type: 'mediumtext'
73
  is_nullable: 0
87
  is_nullable: 0
74
88
89
description of this closing
90
75
=cut
91
=cut
76
92
77
__PACKAGE__->add_columns(
93
__PACKAGE__->add_columns(
Lines 123-130 __PACKAGE__->belongs_to( Link Here
123
);
139
);
124
140
125
141
126
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-01-20 13:57:27
142
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:32
127
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cj8Oveni0l6kAR/azmw4SA
143
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YUbFprptkxnsy744QuTiJA
128
144
129
145
130
# You can replace this text with custom content, and it will be preserved on regeneration
146
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Statistic.pm (-2 / +22 lines)
Lines 29-85 __PACKAGE__->table("statistics"); Link Here
29
  datetime_undef_if_invalid: 1
29
  datetime_undef_if_invalid: 1
30
  is_nullable: 1
30
  is_nullable: 1
31
31
32
date and time of the transaction
33
32
=head2 branch
34
=head2 branch
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
35
  is_nullable: 1
37
  is_nullable: 1
36
  size: 10
38
  size: 10
37
39
40
foreign key, branch where the transaction occurred
41
38
=head2 value
42
=head2 value
39
43
40
  data_type: 'double precision'
44
  data_type: 'double precision'
41
  is_nullable: 1
45
  is_nullable: 1
42
  size: [16,4]
46
  size: [16,4]
43
47
48
monetary value associated with the transaction
49
44
=head2 type
50
=head2 type
45
51
46
  data_type: 'varchar'
52
  data_type: 'varchar'
47
  is_nullable: 1
53
  is_nullable: 1
48
  size: 16
54
  size: 16
49
55
56
transaction type (localuse, issue, return, renew, writeoff, payment)
57
50
=head2 other
58
=head2 other
51
59
52
  data_type: 'longtext'
60
  data_type: 'longtext'
53
  is_nullable: 1
61
  is_nullable: 1
54
62
63
used by SIP
64
55
=head2 itemnumber
65
=head2 itemnumber
56
66
57
  data_type: 'integer'
67
  data_type: 'integer'
58
  is_nullable: 1
68
  is_nullable: 1
59
69
70
foreign key from the items table, links transaction to a specific item
71
60
=head2 itemtype
72
=head2 itemtype
61
73
62
  data_type: 'varchar'
74
  data_type: 'varchar'
63
  is_nullable: 1
75
  is_nullable: 1
64
  size: 10
76
  size: 10
65
77
78
foreign key from the itemtypes table, links transaction to a specific item type
79
66
=head2 location
80
=head2 location
67
81
68
  data_type: 'varchar'
82
  data_type: 'varchar'
69
  is_nullable: 1
83
  is_nullable: 1
70
  size: 80
84
  size: 80
71
85
86
authorized value for the shelving location for this item (MARC21 952$c)
87
72
=head2 borrowernumber
88
=head2 borrowernumber
73
89
74
  data_type: 'integer'
90
  data_type: 'integer'
75
  is_nullable: 1
91
  is_nullable: 1
76
92
93
foreign key from the borrowers table, links transaction to a specific borrower
94
77
=head2 ccode
95
=head2 ccode
78
96
79
  data_type: 'varchar'
97
  data_type: 'varchar'
80
  is_nullable: 1
98
  is_nullable: 1
81
  size: 80
99
  size: 80
82
100
101
foreign key from the items table, links transaction to a specific collection code
102
83
=cut
103
=cut
84
104
85
__PACKAGE__->add_columns(
105
__PACKAGE__->add_columns(
Lines 110-117 __PACKAGE__->add_columns( Link Here
110
);
130
);
111
131
112
132
113
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-18 10:07:43
133
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:32
114
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dzoFXsATo16GZERh8LYT2A
134
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HLDGH51Urg5Ke0u6VHNxNQ
115
135
116
136
117
# You can replace this text with custom content, and it will be preserved on regeneration
137
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Stockrotationitem.pm (-2 / +10 lines)
Lines 29-52 __PACKAGE__->table("stockrotationitems"); Link Here
29
  is_foreign_key: 1
29
  is_foreign_key: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
Itemnumber to link to a stage & rota
33
32
=head2 stage_id
34
=head2 stage_id
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
stage ID to link the item to
41
38
=head2 indemand
42
=head2 indemand
39
43
40
  data_type: 'tinyint'
44
  data_type: 'tinyint'
41
  default_value: 0
45
  default_value: 0
42
  is_nullable: 0
46
  is_nullable: 0
43
47
48
Should this item be skipped for rotation?
49
44
=head2 fresh
50
=head2 fresh
45
51
46
  data_type: 'tinyint'
52
  data_type: 'tinyint'
47
  default_value: 0
53
  default_value: 0
48
  is_nullable: 0
54
  is_nullable: 0
49
55
56
Flag showing item is only just added to rota
57
50
=cut
58
=cut
51
59
52
__PACKAGE__->add_columns(
60
__PACKAGE__->add_columns(
Lines 105-112 __PACKAGE__->belongs_to( Link Here
105
);
113
);
106
114
107
115
108
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-09 15:50:42
116
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:32
109
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gkOISrUyWYqUHtmqe7ZHug
117
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xk/EKJHnfn16eEEGRFefTw
110
118
111
__PACKAGE__->add_columns(
119
__PACKAGE__->add_columns(
112
  '+indemand' => { is_boolean => 1 },
120
  '+indemand' => { is_boolean => 1 },
(-)a/Koha/Schema/Result/Stockrotationrota.pm (-2 / +12 lines)
Lines 29-57 __PACKAGE__->table("stockrotationrotas"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
Stockrotation rota ID
33
32
=head2 title
34
=head2 title
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
35
  is_nullable: 0
37
  is_nullable: 0
36
  size: 100
38
  size: 100
37
39
40
Title for this rota
41
38
=head2 description
42
=head2 description
39
43
40
  data_type: 'text'
44
  data_type: 'text'
41
  is_nullable: 0
45
  is_nullable: 0
42
46
47
Description for this rota
48
43
=head2 cyclical
49
=head2 cyclical
44
50
45
  data_type: 'tinyint'
51
  data_type: 'tinyint'
46
  default_value: 0
52
  default_value: 0
47
  is_nullable: 0
53
  is_nullable: 0
48
54
55
Should items on this rota keep cycling?
56
49
=head2 active
57
=head2 active
50
58
51
  data_type: 'tinyint'
59
  data_type: 'tinyint'
52
  default_value: 0
60
  default_value: 0
53
  is_nullable: 0
61
  is_nullable: 0
54
62
63
Is this rota currently active?
64
55
=cut
65
=cut
56
66
57
__PACKAGE__->add_columns(
67
__PACKAGE__->add_columns(
Lines 97-104 __PACKAGE__->has_many( Link Here
97
);
107
);
98
108
99
109
100
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-09 15:50:42
110
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:32
101
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lTIDZ+w+46Kniub5Tqpqlg
111
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:woyzTbETJhCWaWLruQSnYA
102
112
103
__PACKAGE__->add_columns(
113
__PACKAGE__->add_columns(
104
  '+cyclical' => { is_boolean => 1 },
114
  '+cyclical' => { is_boolean => 1 },
(-)a/Koha/Schema/Result/Stockrotationstage.pm (-2 / +12 lines)
Lines 29-45 __PACKAGE__->table("stockrotationstages"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
Unique stage ID
33
32
=head2 position
34
=head2 position
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_nullable: 0
37
  is_nullable: 0
36
38
39
The position of this stage within its rota
40
37
=head2 rota_id
41
=head2 rota_id
38
42
39
  data_type: 'integer'
43
  data_type: 'integer'
40
  is_foreign_key: 1
44
  is_foreign_key: 1
41
  is_nullable: 0
45
  is_nullable: 0
42
46
47
The rota this stage belongs to
48
43
=head2 branchcode_id
49
=head2 branchcode_id
44
50
45
  data_type: 'varchar'
51
  data_type: 'varchar'
Lines 47-58 __PACKAGE__->table("stockrotationstages"); Link Here
47
  is_nullable: 0
53
  is_nullable: 0
48
  size: 10
54
  size: 10
49
55
56
Branch this stage relates to
57
50
=head2 duration
58
=head2 duration
51
59
52
  data_type: 'integer'
60
  data_type: 'integer'
53
  default_value: 4
61
  default_value: 4
54
  is_nullable: 0
62
  is_nullable: 0
55
63
64
The number of days items shoud occupy this stage
65
56
=cut
66
=cut
57
67
58
__PACKAGE__->add_columns(
68
__PACKAGE__->add_columns(
Lines 128-135 __PACKAGE__->has_many( Link Here
128
);
138
);
129
139
130
140
131
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-09 15:50:42
141
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:32
132
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SKkedF8PL3DWma8kv8yYmg
142
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2WGw2w91CdR9RoY+vzY7xw
133
143
134
# We use DBIx::Class::Ordered to handle stages manipulation.
144
# We use DBIx::Class::Ordered to handle stages manipulation.
135
__PACKAGE__->load_components(qw( Ordered ));
145
__PACKAGE__->load_components(qw( Ordered ));
(-)a/Koha/Schema/Result/Subscription.pm (-2 / +54 lines)
Lines 29-40 __PACKAGE__->table("subscription"); Link Here
29
  is_foreign_key: 1
29
  is_foreign_key: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
foreign key for biblio.biblionumber that this subscription is attached to
33
32
=head2 subscriptionid
34
=head2 subscriptionid
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_auto_increment: 1
37
  is_auto_increment: 1
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
unique key for this subscription
41
38
=head2 librarian
42
=head2 librarian
39
43
40
  data_type: 'varchar'
44
  data_type: 'varchar'
Lines 42-59 __PACKAGE__->table("subscription"); Link Here
42
  is_nullable: 1
46
  is_nullable: 1
43
  size: 100
47
  size: 100
44
48
49
the librarian's username from borrowers.userid
50
45
=head2 startdate
51
=head2 startdate
46
52
47
  data_type: 'date'
53
  data_type: 'date'
48
  datetime_undef_if_invalid: 1
54
  datetime_undef_if_invalid: 1
49
  is_nullable: 1
55
  is_nullable: 1
50
56
57
start date for this subscription
58
51
=head2 aqbooksellerid
59
=head2 aqbooksellerid
52
60
53
  data_type: 'integer'
61
  data_type: 'integer'
54
  default_value: 0
62
  default_value: 0
55
  is_nullable: 1
63
  is_nullable: 1
56
64
65
foreign key for aqbooksellers.id to link to the vendor
66
57
=head2 cost
67
=head2 cost
58
68
59
  data_type: 'integer'
69
  data_type: 'integer'
Lines 72-95 __PACKAGE__->table("subscription"); Link Here
72
  default_value: 0
82
  default_value: 0
73
  is_nullable: 1
83
  is_nullable: 1
74
84
85
subscription length in weeks (will not be filled in if monthlength or numberlength is set)
86
75
=head2 monthlength
87
=head2 monthlength
76
88
77
  data_type: 'integer'
89
  data_type: 'integer'
78
  default_value: 0
90
  default_value: 0
79
  is_nullable: 1
91
  is_nullable: 1
80
92
93
subscription length in weeks (will not be filled in if weeklength or numberlength is set)
94
81
=head2 numberlength
95
=head2 numberlength
82
96
83
  data_type: 'integer'
97
  data_type: 'integer'
84
  default_value: 0
98
  default_value: 0
85
  is_nullable: 1
99
  is_nullable: 1
86
100
101
subscription length in weeks (will not be filled in if monthlength or weeklength is set)
102
87
=head2 periodicity
103
=head2 periodicity
88
104
89
  data_type: 'integer'
105
  data_type: 'integer'
90
  is_foreign_key: 1
106
  is_foreign_key: 1
91
  is_nullable: 1
107
  is_nullable: 1
92
108
109
frequency type links to subscription_frequencies.id
110
93
=head2 countissuesperunit
111
=head2 countissuesperunit
94
112
95
  data_type: 'integer'
113
  data_type: 'integer'
Lines 101-106 __PACKAGE__->table("subscription"); Link Here
101
  data_type: 'longtext'
119
  data_type: 'longtext'
102
  is_nullable: 1
120
  is_nullable: 1
103
121
122
notes
123
104
=head2 status
124
=head2 status
105
125
106
  data_type: 'varchar'
126
  data_type: 'varchar'
Lines 108-113 __PACKAGE__->table("subscription"); Link Here
108
  is_nullable: 0
128
  is_nullable: 0
109
  size: 100
129
  size: 100
110
130
131
status of this subscription
132
111
=head2 lastvalue1
133
=head2 lastvalue1
112
134
113
  data_type: 'integer'
135
  data_type: 'integer'
Lines 147-163 __PACKAGE__->table("subscription"); Link Here
147
  datetime_undef_if_invalid: 1
169
  datetime_undef_if_invalid: 1
148
  is_nullable: 1
170
  is_nullable: 1
149
171
172
first issue received date
173
150
=head2 manualhistory
174
=head2 manualhistory
151
175
152
  data_type: 'tinyint'
176
  data_type: 'tinyint'
153
  default_value: 0
177
  default_value: 0
154
  is_nullable: 0
178
  is_nullable: 0
155
179
180
yes or no to managing the history manually
181
156
=head2 irregularity
182
=head2 irregularity
157
183
158
  data_type: 'mediumtext'
184
  data_type: 'mediumtext'
159
  is_nullable: 1
185
  is_nullable: 1
160
186
187
any irregularities in the subscription
188
161
=head2 skip_serialseq
189
=head2 skip_serialseq
162
190
163
  data_type: 'tinyint'
191
  data_type: 'tinyint'
Lines 176-187 __PACKAGE__->table("subscription"); Link Here
176
  is_foreign_key: 1
204
  is_foreign_key: 1
177
  is_nullable: 1
205
  is_nullable: 1
178
206
207
the numbering pattern used links to subscription_numberpatterns.id
208
179
=head2 locale
209
=head2 locale
180
210
181
  data_type: 'varchar'
211
  data_type: 'varchar'
182
  is_nullable: 1
212
  is_nullable: 1
183
  size: 80
213
  size: 80
184
214
215
for foreign language subscriptions to display months, seasons, etc correctly
216
185
=head2 distributedto
217
=head2 distributedto
186
218
187
  data_type: 'mediumtext'
219
  data_type: 'mediumtext'
Lines 197-202 __PACKAGE__->table("subscription"); Link Here
197
  data_type: 'mediumtext'
229
  data_type: 'mediumtext'
198
  is_nullable: 1
230
  is_nullable: 1
199
231
232
default call number
233
200
=head2 location
234
=head2 location
201
235
202
  data_type: 'varchar'
236
  data_type: 'varchar'
Lines 204-209 __PACKAGE__->table("subscription"); Link Here
204
  is_nullable: 1
238
  is_nullable: 1
205
  size: 80
239
  size: 80
206
240
241
default shelving location (items.location)
242
207
=head2 branchcode
243
=head2 branchcode
208
244
209
  data_type: 'varchar'
245
  data_type: 'varchar'
Lines 211-216 __PACKAGE__->table("subscription"); Link Here
211
  is_nullable: 0
247
  is_nullable: 0
212
  size: 10
248
  size: 10
213
249
250
default branches (items.homebranch)
251
214
=head2 lastbranch
252
=head2 lastbranch
215
253
216
  data_type: 'varchar'
254
  data_type: 'varchar'
Lines 223-264 __PACKAGE__->table("subscription"); Link Here
223
  default_value: 0
261
  default_value: 0
224
  is_nullable: 0
262
  is_nullable: 0
225
263
264
does receiving this serial create an item record
265
226
=head2 staffdisplaycount
266
=head2 staffdisplaycount
227
267
228
  data_type: 'varchar'
268
  data_type: 'varchar'
229
  is_nullable: 1
269
  is_nullable: 1
230
  size: 10
270
  size: 10
231
271
272
how many issues to show to the staff
273
232
=head2 opacdisplaycount
274
=head2 opacdisplaycount
233
275
234
  data_type: 'varchar'
276
  data_type: 'varchar'
235
  is_nullable: 1
277
  is_nullable: 1
236
  size: 10
278
  size: 10
237
279
280
how many issues to show to the public
281
238
=head2 graceperiod
282
=head2 graceperiod
239
283
240
  data_type: 'integer'
284
  data_type: 'integer'
241
  default_value: 0
285
  default_value: 0
242
  is_nullable: 0
286
  is_nullable: 0
243
287
288
grace period in days
289
244
=head2 enddate
290
=head2 enddate
245
291
246
  data_type: 'date'
292
  data_type: 'date'
247
  datetime_undef_if_invalid: 1
293
  datetime_undef_if_invalid: 1
248
  is_nullable: 1
294
  is_nullable: 1
249
295
296
subscription end date
297
250
=head2 closed
298
=head2 closed
251
299
252
  data_type: 'tinyint'
300
  data_type: 'tinyint'
253
  default_value: 0
301
  default_value: 0
254
  is_nullable: 0
302
  is_nullable: 0
255
303
304
yes / no if the subscription is closed
305
256
=head2 reneweddate
306
=head2 reneweddate
257
307
258
  data_type: 'date'
308
  data_type: 'date'
259
  datetime_undef_if_invalid: 1
309
  datetime_undef_if_invalid: 1
260
  is_nullable: 1
310
  is_nullable: 1
261
311
312
date of last renewal for the subscription
313
262
=head2 itemtype
314
=head2 itemtype
263
315
264
  data_type: 'varchar'
316
  data_type: 'varchar'
Lines 497-504 __PACKAGE__->has_many( Link Here
497
);
549
);
498
550
499
551
500
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-04-17 09:15:51
552
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:32
501
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Bw7XzPSvv9fjc9F6+uIBUw
553
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ur0DNjmTa/pSquXKgyjF4A
502
554
503
__PACKAGE__->has_many(
555
__PACKAGE__->has_many(
504
  "additional_field_values",
556
  "additional_field_values",
(-)a/Koha/Schema/Result/Subscriptionroutinglist.pm (-2 / +10 lines)
Lines 29-51 __PACKAGE__->table("subscriptionroutinglist"); 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 by Koha
33
32
=head2 borrowernumber
34
=head2 borrowernumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
foreign key from the borrowers table, defines with patron is on the routing list
41
38
=head2 ranking
42
=head2 ranking
39
43
40
  data_type: 'integer'
44
  data_type: 'integer'
41
  is_nullable: 1
45
  is_nullable: 1
42
46
47
where the patron stands in line to receive the serial
48
43
=head2 subscriptionid
49
=head2 subscriptionid
44
50
45
  data_type: 'integer'
51
  data_type: 'integer'
46
  is_foreign_key: 1
52
  is_foreign_key: 1
47
  is_nullable: 0
53
  is_nullable: 0
48
54
55
foreign key from the subscription table, defines which subscription this routing list is for
56
49
=cut
57
=cut
50
58
51
__PACKAGE__->add_columns(
59
__PACKAGE__->add_columns(
Lines 120-127 __PACKAGE__->belongs_to( Link Here
120
);
128
);
121
129
122
130
123
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
131
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:32
124
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:AK595c56vgTa7ZjwZjberw
132
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ULAuyH4sJu6Uc7TlOepGbg
125
133
126
sub koha_object_class {
134
sub koha_object_class {
127
    'Koha::Subscription::Routinglist';
135
    'Koha::Subscription::Routinglist';
(-)a/Koha/Schema/Result/Suggestion.pm (-2 / +66 lines)
Lines 29-94 __PACKAGE__->table("suggestions"); 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 automatically by Koha
33
32
=head2 suggestedby
34
=head2 suggestedby
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 1
38
  is_nullable: 1
37
39
40
borrowernumber for the person making the suggestion, foreign key linking to the borrowers table
41
38
=head2 suggesteddate
42
=head2 suggesteddate
39
43
40
  data_type: 'date'
44
  data_type: 'date'
41
  datetime_undef_if_invalid: 1
45
  datetime_undef_if_invalid: 1
42
  is_nullable: 0
46
  is_nullable: 0
43
47
48
date the suggestion was submitted
49
44
=head2 managedby
50
=head2 managedby
45
51
46
  data_type: 'integer'
52
  data_type: 'integer'
47
  is_foreign_key: 1
53
  is_foreign_key: 1
48
  is_nullable: 1
54
  is_nullable: 1
49
55
56
borrowernumber for the librarian managing the suggestion, foreign key linking to the borrowers table
57
50
=head2 manageddate
58
=head2 manageddate
51
59
52
  data_type: 'date'
60
  data_type: 'date'
53
  datetime_undef_if_invalid: 1
61
  datetime_undef_if_invalid: 1
54
  is_nullable: 1
62
  is_nullable: 1
55
63
64
date the suggestion was updated
65
56
=head2 acceptedby
66
=head2 acceptedby
57
67
58
  data_type: 'integer'
68
  data_type: 'integer'
59
  is_foreign_key: 1
69
  is_foreign_key: 1
60
  is_nullable: 1
70
  is_nullable: 1
61
71
72
borrowernumber for the librarian who accepted the suggestion, foreign key linking to the borrowers table
73
62
=head2 accepteddate
74
=head2 accepteddate
63
75
64
  data_type: 'date'
76
  data_type: 'date'
65
  datetime_undef_if_invalid: 1
77
  datetime_undef_if_invalid: 1
66
  is_nullable: 1
78
  is_nullable: 1
67
79
80
date the suggestion was marked as accepted
81
68
=head2 rejectedby
82
=head2 rejectedby
69
83
70
  data_type: 'integer'
84
  data_type: 'integer'
71
  is_foreign_key: 1
85
  is_foreign_key: 1
72
  is_nullable: 1
86
  is_nullable: 1
73
87
88
borrowernumber for the librarian who rejected the suggestion, foreign key linking to the borrowers table
89
74
=head2 rejecteddate
90
=head2 rejecteddate
75
91
76
  data_type: 'date'
92
  data_type: 'date'
77
  datetime_undef_if_invalid: 1
93
  datetime_undef_if_invalid: 1
78
  is_nullable: 1
94
  is_nullable: 1
79
95
96
date the suggestion was marked as rejected
97
80
=head2 lastmodificationby
98
=head2 lastmodificationby
81
99
82
  data_type: 'integer'
100
  data_type: 'integer'
83
  is_foreign_key: 1
101
  is_foreign_key: 1
84
  is_nullable: 1
102
  is_nullable: 1
85
103
104
borrowernumber for the librarian who edit the suggestion for the last time
105
86
=head2 lastmodificationdate
106
=head2 lastmodificationdate
87
107
88
  data_type: 'date'
108
  data_type: 'date'
89
  datetime_undef_if_invalid: 1
109
  datetime_undef_if_invalid: 1
90
  is_nullable: 1
110
  is_nullable: 1
91
111
112
date of the last modification
113
92
=head2 STATUS
114
=head2 STATUS
93
115
94
  accessor: 'status'
116
  accessor: 'status'
Lines 97-136 __PACKAGE__->table("suggestions"); Link Here
97
  is_nullable: 0
119
  is_nullable: 0
98
  size: 10
120
  size: 10
99
121
122
suggestion status (ASKED, CHECKED, ACCEPTED, REJECTED, ORDERED, AVAILABLE or a value from the SUGGEST_STATUS authorised value category)
123
100
=head2 archived
124
=head2 archived
101
125
102
  data_type: 'tinyint'
126
  data_type: 'tinyint'
103
  default_value: 0
127
  default_value: 0
104
  is_nullable: 0
128
  is_nullable: 0
105
129
130
is the suggestion archived?
131
106
=head2 note
132
=head2 note
107
133
108
  data_type: 'longtext'
134
  data_type: 'longtext'
109
  is_nullable: 1
135
  is_nullable: 1
110
136
137
note entered on the suggestion
138
111
=head2 author
139
=head2 author
112
140
113
  data_type: 'varchar'
141
  data_type: 'varchar'
114
  is_nullable: 1
142
  is_nullable: 1
115
  size: 80
143
  size: 80
116
144
145
author of the suggested item
146
117
=head2 title
147
=head2 title
118
148
119
  data_type: 'varchar'
149
  data_type: 'varchar'
120
  is_nullable: 1
150
  is_nullable: 1
121
  size: 255
151
  size: 255
122
152
153
title of the suggested item
154
123
=head2 copyrightdate
155
=head2 copyrightdate
124
156
125
  data_type: 'smallint'
157
  data_type: 'smallint'
126
  is_nullable: 1
158
  is_nullable: 1
127
159
160
copyright date of the suggested item
161
128
=head2 publishercode
162
=head2 publishercode
129
163
130
  data_type: 'varchar'
164
  data_type: 'varchar'
131
  is_nullable: 1
165
  is_nullable: 1
132
  size: 255
166
  size: 255
133
167
168
publisher of the suggested item
169
134
=head2 date
170
=head2 date
135
171
136
  data_type: 'timestamp'
172
  data_type: 'timestamp'
Lines 138-143 __PACKAGE__->table("suggestions"); Link Here
138
  default_value: current_timestamp
174
  default_value: current_timestamp
139
  is_nullable: 0
175
  is_nullable: 0
140
176
177
date and time the suggestion was updated
178
141
=head2 volumedesc
179
=head2 volumedesc
142
180
143
  data_type: 'varchar'
181
  data_type: 'varchar'
Lines 156-189 __PACKAGE__->table("suggestions"); Link Here
156
  is_nullable: 1
194
  is_nullable: 1
157
  size: 255
195
  size: 255
158
196
197
publication place of the suggested item
198
159
=head2 isbn
199
=head2 isbn
160
200
161
  data_type: 'varchar'
201
  data_type: 'varchar'
162
  is_nullable: 1
202
  is_nullable: 1
163
  size: 30
203
  size: 30
164
204
205
isbn of the suggested item
206
165
=head2 biblionumber
207
=head2 biblionumber
166
208
167
  data_type: 'integer'
209
  data_type: 'integer'
168
  is_foreign_key: 1
210
  is_foreign_key: 1
169
  is_nullable: 1
211
  is_nullable: 1
170
212
213
foreign key linking the suggestion to the biblio table after the suggestion has been ordered
214
171
=head2 reason
215
=head2 reason
172
216
173
  data_type: 'mediumtext'
217
  data_type: 'mediumtext'
174
  is_nullable: 1
218
  is_nullable: 1
175
219
220
reason for accepting or rejecting the suggestion
221
176
=head2 patronreason
222
=head2 patronreason
177
223
178
  data_type: 'mediumtext'
224
  data_type: 'mediumtext'
179
  is_nullable: 1
225
  is_nullable: 1
180
226
227
reason for making the suggestion
228
181
=head2 budgetid
229
=head2 budgetid
182
230
183
  data_type: 'integer'
231
  data_type: 'integer'
184
  is_foreign_key: 1
232
  is_foreign_key: 1
185
  is_nullable: 1
233
  is_nullable: 1
186
234
235
foreign key linking the suggested budget to the aqbudgets table
236
187
=head2 branchcode
237
=head2 branchcode
188
238
189
  data_type: 'varchar'
239
  data_type: 'varchar'
Lines 191-230 __PACKAGE__->table("suggestions"); Link Here
191
  is_nullable: 1
241
  is_nullable: 1
192
  size: 10
242
  size: 10
193
243
244
foreign key linking the suggested branch to the branches table
245
194
=head2 collectiontitle
246
=head2 collectiontitle
195
247
196
  data_type: 'mediumtext'
248
  data_type: 'mediumtext'
197
  is_nullable: 1
249
  is_nullable: 1
198
250
251
collection name for the suggested item
252
199
=head2 itemtype
253
=head2 itemtype
200
254
201
  data_type: 'varchar'
255
  data_type: 'varchar'
202
  is_nullable: 1
256
  is_nullable: 1
203
  size: 30
257
  size: 30
204
258
259
suggested item type
260
205
=head2 quantity
261
=head2 quantity
206
262
207
  data_type: 'smallint'
263
  data_type: 'smallint'
208
  is_nullable: 1
264
  is_nullable: 1
209
265
266
suggested quantity to be purchased
267
210
=head2 currency
268
=head2 currency
211
269
212
  data_type: 'varchar'
270
  data_type: 'varchar'
213
  is_nullable: 1
271
  is_nullable: 1
214
  size: 10
272
  size: 10
215
273
274
suggested currency for the suggested price
275
216
=head2 price
276
=head2 price
217
277
218
  data_type: 'decimal'
278
  data_type: 'decimal'
219
  is_nullable: 1
279
  is_nullable: 1
220
  size: [28,6]
280
  size: [28,6]
221
281
282
suggested price
283
222
=head2 total
284
=head2 total
223
285
224
  data_type: 'decimal'
286
  data_type: 'decimal'
225
  is_nullable: 1
287
  is_nullable: 1
226
  size: [28,6]
288
  size: [28,6]
227
289
290
suggested total cost (price*quantity updated for currency)
291
228
=cut
292
=cut
229
293
230
__PACKAGE__->add_columns(
294
__PACKAGE__->add_columns(
Lines 484-491 __PACKAGE__->belongs_to( Link Here
484
);
548
);
485
549
486
550
487
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-04-14 20:04:28
551
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:32
488
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BrvQGdgqpODl23IfwbqdUw
552
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HRkzAEJtBU4CwHugS216wA
489
553
490
__PACKAGE__->belongs_to(
554
__PACKAGE__->belongs_to(
491
  "suggester",
555
  "suggester",
(-)a/Koha/Schema/Result/Systempreference.pm (-2 / +12 lines)
Lines 30-56 __PACKAGE__->table("systempreferences"); Link Here
30
  is_nullable: 0
30
  is_nullable: 0
31
  size: 50
31
  size: 50
32
32
33
system preference name
34
33
=head2 value
35
=head2 value
34
36
35
  data_type: 'mediumtext'
37
  data_type: 'mediumtext'
36
  is_nullable: 1
38
  is_nullable: 1
37
39
40
system preference values
41
38
=head2 options
42
=head2 options
39
43
40
  data_type: 'longtext'
44
  data_type: 'longtext'
41
  is_nullable: 1
45
  is_nullable: 1
42
46
47
options for multiple choice system preferences
48
43
=head2 explanation
49
=head2 explanation
44
50
45
  data_type: 'mediumtext'
51
  data_type: 'mediumtext'
46
  is_nullable: 1
52
  is_nullable: 1
47
53
54
descriptive text for the system preference
55
48
=head2 type
56
=head2 type
49
57
50
  data_type: 'varchar'
58
  data_type: 'varchar'
51
  is_nullable: 1
59
  is_nullable: 1
52
  size: 20
60
  size: 20
53
61
62
type of question this preference asks (multiple choice, plain text, yes or no, etc)
63
54
=cut
64
=cut
55
65
56
__PACKAGE__->add_columns(
66
__PACKAGE__->add_columns(
Lines 79-86 __PACKAGE__->add_columns( Link Here
79
__PACKAGE__->set_primary_key("variable");
89
__PACKAGE__->set_primary_key("variable");
80
90
81
91
82
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54
92
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:32
83
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QI7OL4VHrXe8FridIOCZ4A
93
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:tpbJjLaoOVKAoTFG7iTMFg
84
94
85
sub koha_object_class {
95
sub koha_object_class {
86
    'Koha::Config::SysPref';
96
    'Koha::Config::SysPref';
(-)a/Koha/Schema/Result/TagAll.pm (-2 / +14 lines)
Lines 29-63 __PACKAGE__->table("tags_all"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
unique id and primary key
33
32
=head2 borrowernumber
34
=head2 borrowernumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 1
38
  is_nullable: 1
37
39
40
the patron who added the tag (borrowers.borrowernumber)
41
38
=head2 biblionumber
42
=head2 biblionumber
39
43
40
  data_type: 'integer'
44
  data_type: 'integer'
41
  is_foreign_key: 1
45
  is_foreign_key: 1
42
  is_nullable: 0
46
  is_nullable: 0
43
47
48
the bib record this tag was left on (biblio.biblionumber)
49
44
=head2 term
50
=head2 term
45
51
46
  data_type: 'varchar'
52
  data_type: 'varchar'
47
  is_nullable: 0
53
  is_nullable: 0
48
  size: 191
54
  size: 191
49
55
56
the tag
57
50
=head2 language
58
=head2 language
51
59
52
  data_type: 'integer'
60
  data_type: 'integer'
53
  is_nullable: 1
61
  is_nullable: 1
54
62
63
the language the tag was left in
64
55
=head2 date_created
65
=head2 date_created
56
66
57
  data_type: 'datetime'
67
  data_type: 'datetime'
58
  datetime_undef_if_invalid: 1
68
  datetime_undef_if_invalid: 1
59
  is_nullable: 0
69
  is_nullable: 0
60
70
71
the date the tag was added
72
61
=cut
73
=cut
62
74
63
__PACKAGE__->add_columns(
75
__PACKAGE__->add_columns(
Lines 129-136 __PACKAGE__->belongs_to( Link Here
129
);
141
);
130
142
131
143
132
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-03-15 13:30:04
144
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:32
133
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3pY7wv0IRmQBSqr+EghQvw
145
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xpyAfLcSzJ1a4p/Rk2KNyg
134
146
135
sub koha_object_class {
147
sub koha_object_class {
136
    'Koha::Tag';
148
    'Koha::Tag';
(-)a/Koha/Schema/Result/TagsApproval.pm (-2 / +12 lines)
Lines 29-58 __PACKAGE__->table("tags_approval"); Link Here
29
  is_nullable: 0
29
  is_nullable: 0
30
  size: 191
30
  size: 191
31
31
32
the tag
33
32
=head2 approved
34
=head2 approved
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  default_value: 0
37
  default_value: 0
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
whether the tag is approved or not (1=yes, 0=pending, -1=rejected)
41
38
=head2 date_approved
42
=head2 date_approved
39
43
40
  data_type: 'datetime'
44
  data_type: 'datetime'
41
  datetime_undef_if_invalid: 1
45
  datetime_undef_if_invalid: 1
42
  is_nullable: 1
46
  is_nullable: 1
43
47
48
the date this tag was approved
49
44
=head2 approved_by
50
=head2 approved_by
45
51
46
  data_type: 'integer'
52
  data_type: 'integer'
47
  is_foreign_key: 1
53
  is_foreign_key: 1
48
  is_nullable: 1
54
  is_nullable: 1
49
55
56
the librarian who approved the tag (borrowers.borrowernumber)
57
50
=head2 weight_total
58
=head2 weight_total
51
59
52
  data_type: 'integer'
60
  data_type: 'integer'
53
  default_value: 1
61
  default_value: 1
54
  is_nullable: 0
62
  is_nullable: 0
55
63
64
the total number of times this tag was used
65
56
=cut
66
=cut
57
67
58
__PACKAGE__->add_columns(
68
__PACKAGE__->add_columns(
Lines 122-129 __PACKAGE__->has_many( Link Here
122
);
132
);
123
133
124
134
125
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-01-18 08:31:57
135
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:32
126
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4cvTasSpJ2c1vvVVe/R3UQ
136
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zHEk9DLVYdYoLbtEZXVFQw
127
137
128
sub koha_object_class {
138
sub koha_object_class {
129
    'Koha::Tags::Approval';
139
    'Koha::Tags::Approval';
(-)a/Koha/Schema/Result/TagsIndex.pm (-2 / +8 lines)
Lines 30-47 __PACKAGE__->table("tags_index"); Link Here
30
  is_nullable: 0
30
  is_nullable: 0
31
  size: 191
31
  size: 191
32
32
33
the tag
34
33
=head2 biblionumber
35
=head2 biblionumber
34
36
35
  data_type: 'integer'
37
  data_type: 'integer'
36
  is_foreign_key: 1
38
  is_foreign_key: 1
37
  is_nullable: 0
39
  is_nullable: 0
38
40
41
the bib record this tag was used on (biblio.biblionumber)
42
39
=head2 weight
43
=head2 weight
40
44
41
  data_type: 'integer'
45
  data_type: 'integer'
42
  default_value: 1
46
  default_value: 1
43
  is_nullable: 0
47
  is_nullable: 0
44
48
49
the number of times this term was used on this bib record
50
45
=cut
51
=cut
46
52
47
__PACKAGE__->add_columns(
53
__PACKAGE__->add_columns(
Lines 100-107 __PACKAGE__->belongs_to( Link Here
100
);
106
);
101
107
102
108
103
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-01-18 08:31:57
109
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:32
104
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ewTrnc9D1jcoyf65+MrSGQ
110
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jZ7PoeDTmrR68PwcnrLKLg
105
111
106
sub koha_object_class {
112
sub koha_object_class {
107
    'Koha::Tags::Index';
113
    'Koha::Tags::Index';
(-)a/Koha/Schema/Result/Virtualshelfcontent.pm (-2 / +10 lines)
Lines 30-35 __PACKAGE__->table("virtualshelfcontents"); Link Here
30
  is_foreign_key: 1
30
  is_foreign_key: 1
31
  is_nullable: 0
31
  is_nullable: 0
32
32
33
foreign key linking to the virtualshelves table, defines the list that this record has been added to
34
33
=head2 biblionumber
35
=head2 biblionumber
34
36
35
  data_type: 'integer'
37
  data_type: 'integer'
Lines 37-42 __PACKAGE__->table("virtualshelfcontents"); Link Here
37
  is_foreign_key: 1
39
  is_foreign_key: 1
38
  is_nullable: 0
40
  is_nullable: 0
39
41
42
foreign key linking to the biblio table, defines the bib record that has been added to the list
43
40
=head2 flags
44
=head2 flags
41
45
42
  data_type: 'integer'
46
  data_type: 'integer'
Lines 49-60 __PACKAGE__->table("virtualshelfcontents"); Link Here
49
  default_value: current_timestamp
53
  default_value: current_timestamp
50
  is_nullable: 0
54
  is_nullable: 0
51
55
56
date and time this bib record was added to the list
57
52
=head2 borrowernumber
58
=head2 borrowernumber
53
59
54
  data_type: 'integer'
60
  data_type: 'integer'
55
  is_foreign_key: 1
61
  is_foreign_key: 1
56
  is_nullable: 1
62
  is_nullable: 1
57
63
64
borrower number that created this list entry (only the first one is saved: no need for use in/as key)
65
58
=cut
66
=cut
59
67
60
__PACKAGE__->add_columns(
68
__PACKAGE__->add_columns(
Lines 138-145 __PACKAGE__->belongs_to( Link Here
138
);
146
);
139
147
140
148
141
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
149
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:32
142
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ie3Gx+/HthZQ/4fHjcPF0w
150
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HwRg0l+b4O1Q7vEh46s1RQ
143
151
144
#TODO See BZ 14544: Should be resolved by db revision
152
#TODO See BZ 14544: Should be resolved by db revision
145
__PACKAGE__->set_primary_key("shelfnumber","biblionumber");
153
__PACKAGE__->set_primary_key("shelfnumber","biblionumber");
(-)a/Koha/Schema/Result/Virtualshelfshare.pm (-2 / +12 lines)
Lines 29-58 __PACKAGE__->table("virtualshelfshares"); Link Here
29
  is_auto_increment: 1
29
  is_auto_increment: 1
30
  is_nullable: 0
30
  is_nullable: 0
31
31
32
unique key
33
32
=head2 shelfnumber
34
=head2 shelfnumber
33
35
34
  data_type: 'integer'
36
  data_type: 'integer'
35
  is_foreign_key: 1
37
  is_foreign_key: 1
36
  is_nullable: 0
38
  is_nullable: 0
37
39
40
foreign key for virtualshelves
41
38
=head2 borrowernumber
42
=head2 borrowernumber
39
43
40
  data_type: 'integer'
44
  data_type: 'integer'
41
  is_foreign_key: 1
45
  is_foreign_key: 1
42
  is_nullable: 1
46
  is_nullable: 1
43
47
48
borrower that accepted access to this list
49
44
=head2 invitekey
50
=head2 invitekey
45
51
46
  data_type: 'varchar'
52
  data_type: 'varchar'
47
  is_nullable: 1
53
  is_nullable: 1
48
  size: 10
54
  size: 10
49
55
56
temporary string used in accepting the invitation to access thist list; not-empty means that the invitation has not been accepted yet
57
50
=head2 sharedate
58
=head2 sharedate
51
59
52
  data_type: 'datetime'
60
  data_type: 'datetime'
53
  datetime_undef_if_invalid: 1
61
  datetime_undef_if_invalid: 1
54
  is_nullable: 1
62
  is_nullable: 1
55
63
64
date of invitation or acceptance of invitation
65
56
=cut
66
=cut
57
67
58
__PACKAGE__->add_columns(
68
__PACKAGE__->add_columns(
Lines 122-129 __PACKAGE__->belongs_to( Link Here
122
);
132
);
123
133
124
134
125
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
135
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:32
126
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gle9hUqefRoNSilv0gFc1w
136
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ef6dMgGrMT354DaTdY8TdQ
127
137
128
138
129
# You can replace this text with custom content, and it will be preserved on regeneration
139
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Virtualshelve.pm (-2 / +20 lines)
Lines 29-52 __PACKAGE__->table("virtualshelves"); 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 by Koha
33
32
=head2 shelfname
34
=head2 shelfname
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
35
  is_nullable: 1
37
  is_nullable: 1
36
  size: 255
38
  size: 255
37
39
40
name of the list
41
38
=head2 owner
42
=head2 owner
39
43
40
  data_type: 'integer'
44
  data_type: 'integer'
41
  is_foreign_key: 1
45
  is_foreign_key: 1
42
  is_nullable: 1
46
  is_nullable: 1
43
47
48
foreign key linking to the borrowers table (using borrowernumber) for the creator of this list (changed from varchar(80) to int)
49
44
=head2 category
50
=head2 category
45
51
46
  data_type: 'varchar'
52
  data_type: 'varchar'
47
  is_nullable: 1
53
  is_nullable: 1
48
  size: 1
54
  size: 1
49
55
56
type of list (private [1], public [2])
57
50
=head2 sortfield
58
=head2 sortfield
51
59
52
  data_type: 'varchar'
60
  data_type: 'varchar'
Lines 54-59 __PACKAGE__->table("virtualshelves"); Link Here
54
  is_nullable: 1
62
  is_nullable: 1
55
  size: 16
63
  size: 16
56
64
65
the field this list is sorted on
66
57
=head2 lastmodified
67
=head2 lastmodified
58
68
59
  data_type: 'timestamp'
69
  data_type: 'timestamp'
Lines 61-84 __PACKAGE__->table("virtualshelves"); Link Here
61
  default_value: current_timestamp
71
  default_value: current_timestamp
62
  is_nullable: 0
72
  is_nullable: 0
63
73
74
date and time the list was last modified
75
64
=head2 created_on
76
=head2 created_on
65
77
66
  data_type: 'datetime'
78
  data_type: 'datetime'
67
  datetime_undef_if_invalid: 1
79
  datetime_undef_if_invalid: 1
68
  is_nullable: 0
80
  is_nullable: 0
69
81
82
creation time
83
70
=head2 allow_change_from_owner
84
=head2 allow_change_from_owner
71
85
72
  data_type: 'tinyint'
86
  data_type: 'tinyint'
73
  default_value: 1
87
  default_value: 1
74
  is_nullable: 1
88
  is_nullable: 1
75
89
90
can owner change contents?
91
76
=head2 allow_change_from_others
92
=head2 allow_change_from_others
77
93
78
  data_type: 'tinyint'
94
  data_type: 'tinyint'
79
  default_value: 0
95
  default_value: 0
80
  is_nullable: 1
96
  is_nullable: 1
81
97
98
can others change contents?
99
82
=cut
100
=cut
83
101
84
__PACKAGE__->add_columns(
102
__PACKAGE__->add_columns(
Lines 181-188 __PACKAGE__->has_many( Link Here
181
);
199
);
182
200
183
201
184
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-03-08 14:19:17
202
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:32
185
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Xoq0lhLouCbkAp6F4ZyMGQ
203
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ffp0sPdLMjk5q3BLxXf1+Q
186
204
187
sub koha_object_class {
205
sub koha_object_class {
188
    'Koha::Virtualshelf';
206
    'Koha::Virtualshelf';
(-)a/Koha/Schema/Result/Z3950server.pm (-3 / +38 lines)
Lines 29-90 __PACKAGE__->table("z3950servers"); 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 by Koha
33
32
=head2 host
34
=head2 host
33
35
34
  data_type: 'varchar'
36
  data_type: 'varchar'
35
  is_nullable: 1
37
  is_nullable: 1
36
  size: 255
38
  size: 255
37
39
40
target's host name
41
38
=head2 port
42
=head2 port
39
43
40
  data_type: 'integer'
44
  data_type: 'integer'
41
  is_nullable: 1
45
  is_nullable: 1
42
46
47
port number used to connect to target
48
43
=head2 db
49
=head2 db
44
50
45
  data_type: 'varchar'
51
  data_type: 'varchar'
46
  is_nullable: 1
52
  is_nullable: 1
47
  size: 255
53
  size: 255
48
54
55
target's database name
56
49
=head2 userid
57
=head2 userid
50
58
51
  data_type: 'varchar'
59
  data_type: 'varchar'
52
  is_nullable: 1
60
  is_nullable: 1
53
  size: 255
61
  size: 255
54
62
63
username needed to log in to target
64
55
=head2 password
65
=head2 password
56
66
57
  data_type: 'varchar'
67
  data_type: 'varchar'
58
  is_nullable: 1
68
  is_nullable: 1
59
  size: 255
69
  size: 255
60
70
71
password needed to log in to target
72
61
=head2 servername
73
=head2 servername
62
74
63
  data_type: 'longtext'
75
  data_type: 'longtext'
64
  is_nullable: 0
76
  is_nullable: 0
65
77
78
name given to the target by the library
79
66
=head2 checked
80
=head2 checked
67
81
68
  data_type: 'smallint'
82
  data_type: 'smallint'
69
  is_nullable: 1
83
  is_nullable: 1
70
84
85
whether this target is checked by default  (1 for yes, 0 for no)
86
71
=head2 rank
87
=head2 rank
72
88
73
  data_type: 'integer'
89
  data_type: 'integer'
74
  is_nullable: 1
90
  is_nullable: 1
75
91
92
where this target appears in the list of targets
93
76
=head2 syntax
94
=head2 syntax
77
95
78
  data_type: 'varchar'
96
  data_type: 'varchar'
79
  is_nullable: 1
97
  is_nullable: 1
80
  size: 80
98
  size: 80
81
99
100
marc format provided by this target
101
82
=head2 timeout
102
=head2 timeout
83
103
84
  data_type: 'integer'
104
  data_type: 'integer'
85
  default_value: 0
105
  default_value: 0
86
  is_nullable: 0
106
  is_nullable: 0
87
107
108
number of seconds before Koha stops trying to access this server
109
88
=head2 servertype
110
=head2 servertype
89
111
90
  data_type: 'enum'
112
  data_type: 'enum'
Lines 92-102 __PACKAGE__->table("z3950servers"); Link Here
92
  extra: {list => ["zed","sru"]}
114
  extra: {list => ["zed","sru"]}
93
  is_nullable: 0
115
  is_nullable: 0
94
116
117
zed means z39.50 server
118
95
=head2 encoding
119
=head2 encoding
96
120
97
  data_type: 'mediumtext'
121
  data_type: 'mediumtext'
98
  is_nullable: 1
122
  is_nullable: 1
99
123
124
characters encoding provided by this target
125
100
=head2 recordtype
126
=head2 recordtype
101
127
102
  data_type: 'enum'
128
  data_type: 'enum'
Lines 104-131 __PACKAGE__->table("z3950servers"); Link Here
104
  extra: {list => ["authority","biblio"]}
130
  extra: {list => ["authority","biblio"]}
105
  is_nullable: 0
131
  is_nullable: 0
106
132
133
server contains bibliographic or authority records
134
107
=head2 sru_options
135
=head2 sru_options
108
136
109
  data_type: 'varchar'
137
  data_type: 'varchar'
110
  is_nullable: 1
138
  is_nullable: 1
111
  size: 255
139
  size: 255
112
140
141
options like sru=get, sru_version=1.1; will be passed to the server via ZOOM
142
113
=head2 sru_fields
143
=head2 sru_fields
114
144
115
  data_type: 'longtext'
145
  data_type: 'longtext'
116
  is_nullable: 1
146
  is_nullable: 1
117
147
148
contains the mapping between the Z3950 search fields and the specific SRU server indexes
149
118
=head2 add_xslt
150
=head2 add_xslt
119
151
120
  data_type: 'longtext'
152
  data_type: 'longtext'
121
  is_nullable: 1
153
  is_nullable: 1
122
154
155
zero or more paths to XSLT files to be processed on the search results
156
123
=head2 attributes
157
=head2 attributes
124
158
125
  data_type: 'varchar'
159
  data_type: 'varchar'
126
  is_nullable: 1
160
  is_nullable: 1
127
  size: 255
161
  size: 255
128
162
163
additional attributes passed to PQF queries
164
129
=cut
165
=cut
130
166
131
__PACKAGE__->add_columns(
167
__PACKAGE__->add_columns(
Lines 190-197 __PACKAGE__->add_columns( Link Here
190
__PACKAGE__->set_primary_key("id");
226
__PACKAGE__->set_primary_key("id");
191
227
192
228
193
# Created by DBIx::Class::Schema::Loader v0.07047 @ 2018-02-20 01:04:22
229
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-21 11:55:32
194
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YUp6TnDwq7/oLaSmSdVE3A
230
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Xux7rgcpAESaWO+ll5RnQg
195
231
196
sub koha_object_class {
232
sub koha_object_class {
197
    'Koha::Z3950Server';
233
    'Koha::Z3950Server';
198
- 

Return to bug 26995