Bug 24722: (RM follow-up) Schema Changes

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Martin Renvoize 2020-03-18 12:44:09 +00:00
parent bf0e914e62
commit b961f2d764
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
2 changed files with 8 additions and 6 deletions

View File

@ -78,6 +78,7 @@ __PACKAGE__->table("old_reserves");
=head2 priority
data_type: 'smallint'
default_value: 1
is_nullable: 0
=head2 found
@ -165,7 +166,7 @@ __PACKAGE__->add_columns(
"reservenotes",
{ data_type => "longtext", is_nullable => 1 },
"priority",
{ data_type => "smallint", is_nullable => 0 },
{ data_type => "smallint", default_value => 1, is_nullable => 0 },
"found",
{ data_type => "varchar", is_nullable => 1, size => 1 },
"timestamp",
@ -297,8 +298,8 @@ __PACKAGE__->belongs_to(
);
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 08:36:19
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RDZP4TEaFZUexg9jVg6DbA
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 12:43:15
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4vMUC/1kSr3vgQ7n0Pmuug
sub koha_object_class {
'Koha::Old::Hold';

View File

@ -82,6 +82,7 @@ __PACKAGE__->table("reserves");
=head2 priority
data_type: 'smallint'
default_value: 1
is_nullable: 0
=head2 found
@ -179,7 +180,7 @@ __PACKAGE__->add_columns(
"reservenotes",
{ data_type => "longtext", is_nullable => 1 },
"priority",
{ data_type => "smallint", is_nullable => 0 },
{ data_type => "smallint", default_value => 1, is_nullable => 0 },
"found",
{ data_type => "varchar", is_nullable => 1, size => 1 },
"timestamp",
@ -336,8 +337,8 @@ __PACKAGE__->belongs_to(
);
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-25 11:25:52
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8f97w2B7OZT7KP+MKelI8g
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 12:43:15
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VH7h5kYo9WhlGobXb3N3Jg
__PACKAGE__->belongs_to(
"item",