Bug 11897: Add Boolean handling to dbic classes.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Martin Renvoize 2018-09-04 14:34:14 +01:00 committed by Nick Clemens
parent d87bffa091
commit 06e4af6ba8
2 changed files with 8 additions and 0 deletions

View File

@ -108,6 +108,10 @@ __PACKAGE__->belongs_to(
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-09 15:50:42
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gkOISrUyWYqUHtmqe7ZHug
__PACKAGE__->add_columns(
'+indemand' => { is_boolean => 1 },
'+fresh' => { is_boolean => 1 }
);
# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;

View File

@ -100,6 +100,10 @@ __PACKAGE__->has_many(
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-09 15:50:42
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lTIDZ+w+46Kniub5Tqpqlg
__PACKAGE__->add_columns(
'+cyclical' => { is_boolean => 1 },
'+active' => { is_boolean => 1 }
);
# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;