|
Lines 77-84
__PACKAGE__->table("marc_subfield_structure");
Link Here
|
| 77 |
=head2 authorised_value |
77 |
=head2 authorised_value |
| 78 |
|
78 |
|
| 79 |
data_type: 'varchar' |
79 |
data_type: 'varchar' |
|
|
80 |
is_foreign_key: 1 |
| 80 |
is_nullable: 1 |
81 |
is_nullable: 1 |
| 81 |
size: 20 |
82 |
size: 32 |
| 82 |
|
83 |
|
| 83 |
=head2 authtypecode |
84 |
=head2 authtypecode |
| 84 |
|
85 |
|
|
Lines 152-158
__PACKAGE__->add_columns(
Link Here
|
| 152 |
"tab", |
153 |
"tab", |
| 153 |
{ data_type => "tinyint", is_nullable => 1 }, |
154 |
{ data_type => "tinyint", is_nullable => 1 }, |
| 154 |
"authorised_value", |
155 |
"authorised_value", |
| 155 |
{ data_type => "varchar", is_nullable => 1, size => 20 }, |
156 |
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 32 }, |
| 156 |
"authtypecode", |
157 |
"authtypecode", |
| 157 |
{ data_type => "varchar", is_nullable => 1, size => 20 }, |
158 |
{ data_type => "varchar", is_nullable => 1, size => 20 }, |
| 158 |
"value_builder", |
159 |
"value_builder", |
|
Lines 189-197
__PACKAGE__->add_columns(
Link Here
|
| 189 |
|
190 |
|
| 190 |
__PACKAGE__->set_primary_key("frameworkcode", "tagfield", "tagsubfield"); |
191 |
__PACKAGE__->set_primary_key("frameworkcode", "tagfield", "tagsubfield"); |
| 191 |
|
192 |
|
|
|
193 |
=head1 RELATIONS |
| 194 |
|
| 195 |
=head2 authorised_value |
| 196 |
|
| 197 |
Type: belongs_to |
| 198 |
|
| 199 |
Related object: L<Koha::Schema::Result::AuthorisedValueCategory> |
| 200 |
|
| 201 |
=cut |
| 202 |
|
| 203 |
__PACKAGE__->belongs_to( |
| 204 |
"authorised_value", |
| 205 |
"Koha::Schema::Result::AuthorisedValueCategory", |
| 206 |
{ category_name => "authorised_value" }, |
| 207 |
{ |
| 208 |
is_deferrable => 1, |
| 209 |
join_type => "LEFT", |
| 210 |
on_delete => "SET NULL", |
| 211 |
on_update => "CASCADE", |
| 212 |
}, |
| 213 |
); |
| 214 |
|
| 192 |
|
215 |
|
| 193 |
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 |
216 |
# Created by DBIx::Class::Schema::Loader v0.07045 @ 2016-08-30 11:59:32 |
| 194 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4JgqkPKFNSQ90hTeeb30ow |
217 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/gnyZuGje+sg82HfxMLI0g |
| 195 |
|
218 |
|
| 196 |
|
219 |
|
| 197 |
# You can replace this text with custom content, and it will be preserved on regeneration |
220 |
# You can replace this text with custom content, and it will be preserved on regeneration |
| 198 |
- |
|
|