Bug 6758: DBIC Schema changes

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2017-09-19 13:20:41 -03:00
parent 889fee7313
commit cfbcafb7bc
3 changed files with 30 additions and 6 deletions

View File

@ -232,6 +232,12 @@ __PACKAGE__->table("borrowers");
datetime_undef_if_invalid: 1
is_nullable: 1
=head2 date_renewed
data_type: 'date'
datetime_undef_if_invalid: 1
is_nullable: 1
=head2 gonenoaddress
data_type: 'tinyint'
@ -552,6 +558,8 @@ __PACKAGE__->add_columns(
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"dateexpiry",
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"date_renewed",
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"gonenoaddress",
{ data_type => "tinyint", is_nullable => 1 },
"lost",
@ -1378,8 +1386,8 @@ Composing rels: L</aqorder_users> -> ordernumber
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-05-09 21:24:02
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7llO928plwtX2Q+I9nQA8A
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-09-19 03:00:28
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZZDjvikajGC+2s4vkp9stw
__PACKAGE__->belongs_to(
"guarantor",

View File

@ -242,6 +242,12 @@ __PACKAGE__->table("borrower_modifications");
datetime_undef_if_invalid: 1
is_nullable: 1
=head2 date_renewed
data_type: 'date'
datetime_undef_if_invalid: 1
is_nullable: 1
=head2 gonenoaddress
data_type: 'tinyint'
@ -513,6 +519,8 @@ __PACKAGE__->add_columns(
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"dateexpiry",
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"date_renewed",
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"gonenoaddress",
{ data_type => "tinyint", is_nullable => 1 },
"lost",
@ -590,8 +598,8 @@ __PACKAGE__->add_columns(
__PACKAGE__->set_primary_key("verification_token", "borrowernumber");
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-12-12 20:04:12
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IZNhBX5Bj+x4S8JCWG+7lA
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-09-19 03:00:28
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:k+pL864IIHY6NP9y9MMWAw
# You can replace this text with custom content, and it will be preserved on regeneration

View File

@ -230,6 +230,12 @@ __PACKAGE__->table("deletedborrowers");
datetime_undef_if_invalid: 1
is_nullable: 1
=head2 date_renewed
data_type: 'date'
datetime_undef_if_invalid: 1
is_nullable: 1
=head2 gonenoaddress
data_type: 'tinyint'
@ -537,6 +543,8 @@ __PACKAGE__->add_columns(
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"dateexpiry",
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"date_renewed",
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"gonenoaddress",
{ data_type => "tinyint", is_nullable => 1 },
"lost",
@ -633,8 +641,8 @@ __PACKAGE__->add_columns(
);
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-05-09 21:24:03
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SpP0xoSTFIweqTp1muUwvg
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-09-19 03:00:28
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Q3cG0PLX/T3axMdO0MiSug
# You can replace this text with custom code or comments, and it will be preserved on regeneration