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

(-)a/Koha/Schema/Result/Aqbookseller.pm (-2 / +17 lines)
Lines 304-309 __PACKAGE__->has_many( Link Here
304
  { cascade_copy => 0, cascade_delete => 0 },
304
  { cascade_copy => 0, cascade_delete => 0 },
305
);
305
);
306
306
307
=head2 aqbookseller_interfaces
308
309
Type: has_many
310
311
Related object: L<Koha::Schema::Result::AqbooksellerInterface>
312
313
=cut
314
315
__PACKAGE__->has_many(
316
  "aqbookseller_interfaces",
317
  "Koha::Schema::Result::AqbooksellerInterface",
318
  { "foreign.vendor_id" => "self.id" },
319
  { cascade_copy => 0, cascade_delete => 0 },
320
);
321
307
=head2 aqcontacts
322
=head2 aqcontacts
308
323
309
Type: has_many
324
Type: has_many
Lines 480-487 __PACKAGE__->has_many( Link Here
480
);
495
);
481
496
482
497
483
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-03-01 10:07:31
498
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-03-01 14:17:22
484
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YBiWEJqaEoEzap60SDok+A
499
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Gw03aSuVNugEsO2ANlrGuQ
485
500
486
__PACKAGE__->add_columns(
501
__PACKAGE__->add_columns(
487
    '+active' => { is_boolean => 1 },
502
    '+active' => { is_boolean => 1 },
(-)a/Koha/Schema/Result/AqbooksellerInterface.pm (-1 / +152 lines)
Line 0 Link Here
0
- 
1
use utf8;
2
package Koha::Schema::Result::AqbooksellerInterface;
3
4
# Created by DBIx::Class::Schema::Loader
5
# DO NOT MODIFY THE FIRST PART OF THIS FILE
6
7
=head1 NAME
8
9
Koha::Schema::Result::AqbooksellerInterface
10
11
=cut
12
13
use strict;
14
use warnings;
15
16
use base 'DBIx::Class::Core';
17
18
=head1 TABLE: C<aqbookseller_interfaces>
19
20
=cut
21
22
__PACKAGE__->table("aqbookseller_interfaces");
23
24
=head1 ACCESSORS
25
26
=head2 id
27
28
  data_type: 'integer'
29
  is_auto_increment: 1
30
  is_nullable: 0
31
32
primary key and unique identifier assigned by Koha
33
34
=head2 vendor_id
35
36
  data_type: 'integer'
37
  is_foreign_key: 1
38
  is_nullable: 0
39
40
link to the vendor
41
42
=head2 type
43
44
  data_type: 'varchar'
45
  is_nullable: 1
46
  size: 80
47
48
type of the interface, authorised value VENDOR_INTERFACE_TYPE
49
50
=head2 name
51
52
  data_type: 'varchar'
53
  is_nullable: 0
54
  size: 255
55
56
name of the interface
57
58
=head2 uri
59
60
  data_type: 'mediumtext'
61
  is_nullable: 1
62
63
uri of the interface
64
65
=head2 login
66
67
  data_type: 'varchar'
68
  is_nullable: 1
69
  size: 255
70
71
login
72
73
=head2 password
74
75
  data_type: 'mediumtext'
76
  is_nullable: 1
77
78
hashed password
79
80
=head2 account_email
81
82
  data_type: 'mediumtext'
83
  is_nullable: 1
84
85
account email
86
87
=head2 notes
88
89
  data_type: 'longtext'
90
  is_nullable: 1
91
92
notes
93
94
=cut
95
96
__PACKAGE__->add_columns(
97
  "id",
98
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
99
  "vendor_id",
100
  { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
101
  "type",
102
  { data_type => "varchar", is_nullable => 1, size => 80 },
103
  "name",
104
  { data_type => "varchar", is_nullable => 0, size => 255 },
105
  "uri",
106
  { data_type => "mediumtext", is_nullable => 1 },
107
  "login",
108
  { data_type => "varchar", is_nullable => 1, size => 255 },
109
  "password",
110
  { data_type => "mediumtext", is_nullable => 1 },
111
  "account_email",
112
  { data_type => "mediumtext", is_nullable => 1 },
113
  "notes",
114
  { data_type => "longtext", is_nullable => 1 },
115
);
116
117
=head1 PRIMARY KEY
118
119
=over 4
120
121
=item * L</id>
122
123
=back
124
125
=cut
126
127
__PACKAGE__->set_primary_key("id");
128
129
=head1 RELATIONS
130
131
=head2 vendor
132
133
Type: belongs_to
134
135
Related object: L<Koha::Schema::Result::Aqbookseller>
136
137
=cut
138
139
__PACKAGE__->belongs_to(
140
  "vendor",
141
  "Koha::Schema::Result::Aqbookseller",
142
  { id => "vendor_id" },
143
  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
144
);
145
146
147
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-03-02 14:22:08
148
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:x1agzLqSW4QKvQq5CHKkjQ
149
150
151
# You can replace this text with custom code or comments, and it will be preserved on regeneration
152
1;

Return to bug 33104