Lines 59-64
__PACKAGE__->table("deletedbiblio_metadata");
Link Here
|
59 |
default_value: current_timestamp |
59 |
default_value: current_timestamp |
60 |
is_nullable: 0 |
60 |
is_nullable: 0 |
61 |
|
61 |
|
|
|
62 |
=head2 record_source_id |
63 |
|
64 |
data_type: 'integer' |
65 |
is_foreign_key: 1 |
66 |
is_nullable: 1 |
67 |
|
68 |
The record source for the metadata |
69 |
|
62 |
=cut |
70 |
=cut |
63 |
|
71 |
|
64 |
__PACKAGE__->add_columns( |
72 |
__PACKAGE__->add_columns( |
Lines 79-84
__PACKAGE__->add_columns(
Link Here
|
79 |
default_value => \"current_timestamp", |
87 |
default_value => \"current_timestamp", |
80 |
is_nullable => 0, |
88 |
is_nullable => 0, |
81 |
}, |
89 |
}, |
|
|
90 |
"record_source_id", |
91 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
82 |
); |
92 |
); |
83 |
|
93 |
|
84 |
=head1 PRIMARY KEY |
94 |
=head1 PRIMARY KEY |
Lines 131-139
__PACKAGE__->belongs_to(
Link Here
|
131 |
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, |
141 |
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, |
132 |
); |
142 |
); |
133 |
|
143 |
|
|
|
144 |
=head2 record_source |
145 |
|
146 |
Type: belongs_to |
147 |
|
148 |
Related object: L<Koha::Schema::Result::RecordSource> |
149 |
|
150 |
=cut |
151 |
|
152 |
__PACKAGE__->belongs_to( |
153 |
"record_source", |
154 |
"Koha::Schema::Result::RecordSource", |
155 |
{ record_source_id => "record_source_id" }, |
156 |
{ |
157 |
is_deferrable => 1, |
158 |
join_type => "LEFT", |
159 |
on_delete => "CASCADE", |
160 |
on_update => "CASCADE", |
161 |
}, |
162 |
); |
163 |
|
134 |
|
164 |
|
135 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-01-30 11:34:16 |
165 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2024-01-24 18:05:50 |
136 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JCOh+FSSTgPlC8lMJOdOOA |
166 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jEM0aYYjTiiNiolqlshXJA |
137 |
|
167 |
|
138 |
|
168 |
|
139 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
169 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
140 |
- |
|
|