Bug 13379: (RM followup) DBIx updates

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Tomas Cohen Arazi 2015-01-13 13:26:11 -03:00
parent 43d59de56d
commit 6fcc9f6dd9
2 changed files with 8 additions and 23 deletions

View File

@ -34,7 +34,7 @@ __PACKAGE__->table("authorised_values");
data_type: 'varchar'
default_value: (empty string)
is_nullable: 0
size: 16
size: 32
=head2 authorised_value
@ -67,7 +67,7 @@ __PACKAGE__->add_columns(
"id",
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
"category",
{ data_type => "varchar", default_value => "", is_nullable => 0, size => 16 },
{ data_type => "varchar", default_value => "", is_nullable => 0, size => 32 },
"authorised_value",
{ data_type => "varchar", default_value => "", is_nullable => 0, size => 80 },
"lib",
@ -107,24 +107,9 @@ __PACKAGE__->has_many(
{ cascade_copy => 0, cascade_delete => 0 },
);
=head2 items_search_fields
Type: has_many
Related object: L<Koha::Schema::Result::ItemsSearchField>
=cut
__PACKAGE__->has_many(
"items_search_fields",
"Koha::Schema::Result::ItemsSearchField",
{ "foreign.authorised_values_category" => "self.category" },
{ cascade_copy => 0, cascade_delete => 0 },
);
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-11-04 19:23:41
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:aaIEvlA6wPG2o0Zx2JGk6A
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-01-13 13:14:54
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/LKBdxi1YA7ggV78u9BlVA
# You can replace this text with custom content, and it will be preserved on regeneration

View File

@ -69,7 +69,7 @@ __PACKAGE__->table("borrower_attribute_types");
data_type: 'varchar'
is_nullable: 1
size: 10
size: 32
=head2 display_checkout
@ -108,7 +108,7 @@ __PACKAGE__->add_columns(
"staff_searchable",
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
"authorised_value_category",
{ data_type => "varchar", is_nullable => 1, size => 10 },
{ data_type => "varchar", is_nullable => 1, size => 32 },
"display_checkout",
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
"category_code",
@ -162,8 +162,8 @@ __PACKAGE__->has_many(
);
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xFtIJw7nKVVk6dzBVDO60A
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-01-13 13:14:54
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9fLFZ/u89xmeCollneyUIg
# You can replace this text with custom content, and it will be preserved on regeneration