Bug 20472: DBIC schema changes

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2021-07-12 15:41:45 +02:00
parent b9dc107914
commit 0301624b02

View file

@ -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