Bug 10459 - Update Schema

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 42cd9ca144)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
Kyle M Hall 2016-06-14 16:35:49 +00:00 committed by Frédéric Demians
parent ac71c2e7da
commit a0fb3fdf1a
2 changed files with 32 additions and 4 deletions

View File

@ -407,6 +407,13 @@ __PACKAGE__->table("borrowers");
default_value: 0
is_nullable: 0
=head2 updated_on
data_type: 'timestamp'
datetime_undef_if_invalid: 1
default_value: current_timestamp
is_nullable: 0
=cut
__PACKAGE__->add_columns(
@ -576,6 +583,13 @@ __PACKAGE__->add_columns(
{ data_type => "integer", default_value => 1, is_nullable => 0 },
"privacy_guarantor_checkouts",
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
"updated_on",
{
data_type => "timestamp",
datetime_undef_if_invalid => 1,
default_value => \"current_timestamp",
is_nullable => 0,
},
);
=head1 PRIMARY KEY
@ -1204,8 +1218,8 @@ Composing rels: L</aqorder_users> -> ordernumber
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-02-14 12:46:14
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bI6qJYw+ulTUwA7XMCkkRw
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-06-14 16:35:12
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Luq1YVrOwtdDvSDWgWNGUg
__PACKAGE__->belongs_to(
"guarantor",

View File

@ -404,6 +404,13 @@ __PACKAGE__->table("deletedborrowers");
default_value: 0
is_nullable: 0
=head2 updated_on
data_type: 'timestamp'
datetime_undef_if_invalid: 1
default_value: current_timestamp
is_nullable: 0
=cut
__PACKAGE__->add_columns(
@ -561,11 +568,18 @@ __PACKAGE__->add_columns(
{ data_type => "integer", default_value => 1, is_nullable => 0 },
"privacy_guarantor_checkouts",
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
"updated_on",
{
data_type => "timestamp",
datetime_undef_if_invalid => 1,
default_value => \"current_timestamp",
is_nullable => 0,
},
);
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-04 19:32:39
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UqTaMlpDnOWlhfQyF5EjHA
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-06-14 16:35:12
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wmWyqDcbofgVoIbvRy7j6w
# You can replace this text with custom code or comments, and it will be preserved on regeneration