Browse Source

Bug 20472: DBIC schema changes

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
21.11.x
Jonathan Druart 3 years ago
parent
commit
0301624b02
  1. 25
      Koha/Schema/Result/ArticleRequest.pm

25
Koha/Schema/Result/ArticleRequest.pm

@ -106,6 +106,18 @@ __PACKAGE__->table("article_requests");
data_type: 'mediumtext'
is_nullable: 1
=head2 format
data_type: 'enum'
default_value: 'PHOTOCOPY'
extra: {list => ["PHOTOCOPY","SCAN"]}
is_nullable: 0
=head2 urls
data_type: 'mediumtext'
is_nullable: 1
=head2 created_on
data_type: 'timestamp'
@ -159,6 +171,15 @@ __PACKAGE__->add_columns(
},
"notes",
{ data_type => "mediumtext", is_nullable => 1 },
"format",
{
data_type => "enum",
default_value => "PHOTOCOPY",
extra => { list => ["PHOTOCOPY", "SCAN"] },
is_nullable => 0,
},
"urls",
{ data_type => "mediumtext", is_nullable => 1 },
"created_on",
{
data_type => "timestamp",
@ -259,8 +280,8 @@ __PACKAGE__->belongs_to(
);
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5V0gW/nMkgDImbKMlIa2BA
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-07-12 13:41:15
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GVaBsoeXb0EiuKTJYkWLEg
# You can replace this text with custom code or comments, and it will be preserved on regeneration

Loading…
Cancel
Save