TT#143151 fix inflating kamailio.location.expiry

Change-Id: I0cd5a5c005b35c9fde4508a49547920562c1129e
(cherry picked from commit 6438fc7a69)
mr7.5.4
Rene Krenn 4 years ago
parent 124bfa3199
commit ce13d50c00

@ -8,7 +8,11 @@ use parent 'DBIx::Class::Core';
our $VERSION = '2.007';
__PACKAGE__->load_components("InflateColumn::DateTime", "Helper::Row::ToJSON");
__PACKAGE__->load_components(
"InflateColumn::DateTime",
"Helper::Row::ToJSON",
"+NGCP::Schema::InflateColumn::DateTime::EpochString",
);
__PACKAGE__->table("kamailio.location");
@ -34,7 +38,7 @@ __PACKAGE__->add_columns(
{
data_type => "bigint",
is_nullable => 0,
inflate_datetime => 'epoch',
inflate_datetime => 'epoch_string',
},
"q",
{

Loading…
Cancel
Save