Lines 33-38
__PACKAGE__->table("authorised_values");
Link Here
|
33 |
|
33 |
|
34 |
data_type: 'varchar' |
34 |
data_type: 'varchar' |
35 |
default_value: (empty string) |
35 |
default_value: (empty string) |
|
|
36 |
is_foreign_key: 1 |
36 |
is_nullable: 0 |
37 |
is_nullable: 0 |
37 |
size: 32 |
38 |
size: 32 |
38 |
|
39 |
|
Lines 67-73
__PACKAGE__->add_columns(
Link Here
|
67 |
"id", |
68 |
"id", |
68 |
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, |
69 |
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, |
69 |
"category", |
70 |
"category", |
70 |
{ data_type => "varchar", default_value => "", is_nullable => 0, size => 32 }, |
71 |
{ |
|
|
72 |
data_type => "varchar", |
73 |
default_value => "", |
74 |
is_foreign_key => 1, |
75 |
is_nullable => 0, |
76 |
size => 32, |
77 |
}, |
71 |
"authorised_value", |
78 |
"authorised_value", |
72 |
{ data_type => "varchar", default_value => "", is_nullable => 0, size => 80 }, |
79 |
{ data_type => "varchar", default_value => "", is_nullable => 0, size => 80 }, |
73 |
"lib", |
80 |
"lib", |
Lines 107-115
__PACKAGE__->has_many(
Link Here
|
107 |
{ cascade_copy => 0, cascade_delete => 0 }, |
114 |
{ cascade_copy => 0, cascade_delete => 0 }, |
108 |
); |
115 |
); |
109 |
|
116 |
|
|
|
117 |
=head2 category |
118 |
|
119 |
Type: belongs_to |
120 |
|
121 |
Related object: L<Koha::Schema::Result::AuthorisedValueCategory> |
122 |
|
123 |
=cut |
124 |
|
125 |
__PACKAGE__->belongs_to( |
126 |
"category", |
127 |
"Koha::Schema::Result::AuthorisedValueCategory", |
128 |
{ category_name => "category" }, |
129 |
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, |
130 |
); |
131 |
|
110 |
|
132 |
|
111 |
# Created by DBIx::Class::Schema::Loader v0.07045 @ 2016-08-29 11:50:45 |
133 |
# Created by DBIx::Class::Schema::Loader v0.07045 @ 2016-08-30 11:52:45 |
112 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VtpTwYpCMG3VVmsrQspdxw |
134 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LOArv8JQ0aiTZgcy+jb7pA |
113 |
|
135 |
|
114 |
|
136 |
|
115 |
# 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 |