Browse Source

Bug 8976: DBIC schema changes

Sponsored-by: Orex Digital

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
21.05.x
Jonathan Druart 3 years ago
parent
commit
380a7ef1c0
  1. 12
      Koha/Schema/Result/AuthSubfieldStructure.pm
  2. 12
      Koha/Schema/Result/MarcSubfieldStructure.pm

12
Koha/Schema/Result/AuthSubfieldStructure.pm

@ -130,6 +130,12 @@ __PACKAGE__->table("auth_subfield_structure");
data_type: 'mediumtext'
is_nullable: 1
=head2 display_order
data_type: 'integer'
default_value: 0
is_nullable: 0
=cut
__PACKAGE__->add_columns(
@ -173,6 +179,8 @@ __PACKAGE__->add_columns(
{ data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
"defaultvalue",
{ data_type => "mediumtext", is_nullable => 1 },
"display_order",
{ data_type => "integer", default_value => 0, is_nullable => 0 },
);
=head1 PRIMARY KEY
@ -209,8 +217,8 @@ __PACKAGE__->belongs_to(
);
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5Prv/DCQk32mTQaqtYhUuA
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-12-10 09:06:23
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QaSzsLBl3m/n+8u8nXuOeQ
sub koha_object_class {
'Koha::Authority::Subfield';

12
Koha/Schema/Result/MarcSubfieldStructure.pm

@ -140,6 +140,12 @@ __PACKAGE__->table("marc_subfield_structure");
default_value: 9999
is_nullable: 0
=head2 display_order
data_type: 'integer'
default_value: 0
is_nullable: 0
=cut
__PACKAGE__->add_columns(
@ -181,6 +187,8 @@ __PACKAGE__->add_columns(
{ data_type => "mediumtext", is_nullable => 1 },
"maxlength",
{ data_type => "integer", default_value => 9999, is_nullable => 0 },
"display_order",
{ data_type => "integer", default_value => 0, is_nullable => 0 },
);
=head1 PRIMARY KEY
@ -222,8 +230,8 @@ __PACKAGE__->belongs_to(
);
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-11 14:36:42
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lCe1ZenRM/9rXnRHXhDuSw
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-12-10 09:06:23
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KVbDXEVf96eDkbPYpcmQVA
# You can replace this text with custom content, and it will be preserved on regeneration

Loading…
Cancel
Save